Skip to content

Commit

Permalink
Minor clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
asny committed Apr 13, 2023
1 parent 1f216ea commit fff2278
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/window/winit_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ impl Window {
*control_flow = ControlFlow::Exit;
} else {
if frame_output.swap_buffers {
#[cfg(not(target_arch = "wasm32"))]
self.gl.swap_buffers().unwrap();
}
if frame_output.wait_next_event {
Expand Down

0 comments on commit fff2278

Please sign in to comment.