We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da8d35 commit 457e58fCopy full SHA for 457e58f
1 file changed
examples/render-webgl/src/main.rs
@@ -137,9 +137,7 @@ async fn run() -> Result<(), Box<dyn std::error::Error>> {
137
// Just that physics simulation will run for the provided time, which may be big and causes a startup delay.
138
puppet.end_frame(scene_ctrl.borrow().dt());
139
140
- renderer.borrow().on_begin_draw(&puppet);
141
renderer.borrow().draw(&puppet);
142
- renderer.borrow().on_end_draw(&puppet);
143
}
144
145
request_animation_frame(anim_loop_f.borrow().as_ref().unwrap());
0 commit comments