From d0e61aa868d8255db0b40d8f7efcf22d22f51785 Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Thu, 19 Jan 2023 23:16:22 +0100 Subject: [PATCH] Small statement in new example --- ctru-rs/examples/ogg-audio.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ctru-rs/examples/ogg-audio.rs b/ctru-rs/examples/ogg-audio.rs index b31216b..ef6baf5 100644 --- a/ctru-rs/examples/ogg-audio.rs +++ b/ctru-rs/examples/ogg-audio.rs @@ -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. } }