From 40e5cc9587288e3a0074deac2c71f01bb73ef51f Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Thu, 4 May 2023 14:22:02 +0200 Subject: [PATCH] Readd trait imports --- ctru-rs/examples/graphics-bitmap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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