Browse Source

Update flush_buffer docs

Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
pull/116/head
Meziu 2 years ago committed by Andrea Ciliberti
parent
commit
9a98f3233c
  1. 2
      ctru-rs/src/services/gfx.rs

2
ctru-rs/src/services/gfx.rs

@ -55,7 +55,7 @@ pub trait Screen: private::Sealed {
unsafe { ctru_sys::gfxSetDoubleBuffering(self.as_raw(), enabled) } unsafe { ctru_sys::gfxSetDoubleBuffering(self.as_raw(), enabled) }
} }
/// Swaps the video buffers. /// Flushes the video buffer for this screen.
/// ///
/// This should be used even if double buffering is disabled. /// This should be used even if double buffering is disabled.
fn flush_buffer(&mut self) { fn flush_buffer(&mut self) {

Loading…
Cancel
Save