Skip to content

Commit 457e58f

Browse files
committed
Fix webGL renderer
1 parent 1da8d35 commit 457e58f

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

examples/render-webgl/src/main.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ async fn run() -> Result<(), Box<dyn std::error::Error>> {
137137
// Just that physics simulation will run for the provided time, which may be big and causes a startup delay.
138138
puppet.end_frame(scene_ctrl.borrow().dt());
139139

140-
renderer.borrow().on_begin_draw(&puppet);
141140
renderer.borrow().draw(&puppet);
142-
renderer.borrow().on_end_draw(&puppet);
143141
}
144142

145143
request_animation_frame(anim_loop_f.borrow().as_ref().unwrap());

0 commit comments

Comments
 (0)