Browse Source

Small statement in new example

pull/83/head
Andrea Ciliberti 2 years ago
parent
commit
d0e61aa868
  1. 3
      ctru-rs/examples/ogg-audio.rs

3
ctru-rs/examples/ogg-audio.rs

@ -131,5 +131,8 @@ fn main() { @@ -131,5 +131,8 @@ fn main() {
// Flush and swap framebuffers
gfx.flush_buffers();
gfx.swap_buffers();
// We don't vsync here because that would slow down the sample's decoding.
// Audio code is supposed to run on a different thread in normal applications.
}
}

Loading…
Cancel
Save