aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/audio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fparkan-game/src/audio.rs')
-rw-r--r--apps/fparkan-game/src/audio.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/fparkan-game/src/audio.rs b/apps/fparkan-game/src/audio.rs
index a89e2759..0d6a34f5 100644
--- a/apps/fparkan-game/src/audio.rs
+++ b/apps/fparkan-game/src/audio.rs
@@ -946,11 +946,6 @@ impl GameAudio {
}
}
- /// Focus callback used by the window event loop.
- pub(crate) fn on_focus_changed(&mut self, focused: bool) {
- self.set_paused(!focused);
- }
-
/// Stops all sources before the window/event loop exits.
pub(crate) fn shutdown(&mut self) {
self.ambient.stop();