diff --git a/ctru-rs/examples/graphics-bitmap.rs b/ctru-rs/examples/graphics-bitmap.rs index 4beacea..df9ce11 100644 --- a/ctru-rs/examples/graphics-bitmap.rs +++ b/ctru-rs/examples/graphics-bitmap.rs @@ -1,5 +1,5 @@ use ctru::prelude::*; -use ctru::services::gfx::Screen; +use ctru::services::gfx::{Flush, Screen, Swap}; /// Ferris image taken from and scaled down to 320x240px. /// To regenerate the data, you will need to install `imagemagick` and run this @@ -48,7 +48,7 @@ fn main() { } // Flush and swap framebuffers - bottom_screen.flush_buffer(); + bottom_screen.flush_buffers(); bottom_screen.swap_buffers(); //Wait for VBlank