aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Zechner <contact@badlogicgames.com>2024-09-15 16:55:37 +0200
committerGitHub <noreply@github.com>2024-09-15 16:55:37 +0200
commite5d18f2f273d999f3e973e4751925709cbe6eff6 (patch)
tree216b911429acc0beaee29e6bb494fa05b9f7cadf
parent1eb96dd0f96b9ea73065f9078244c2255c2b75d9 (diff)
Fix _saudio_backend_shutdown for _SAUDIO_APPLE
The code path tries to return void. Does not compile for obvious reasons.
-rw-r--r--sokol_audio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_audio.h b/sokol_audio.h
index aca49422..960c42da 100644
--- a/sokol_audio.h
+++ b/sokol_audio.h
@@ -2473,7 +2473,7 @@ void _saudio_backend_shutdown(void) {
#elif defined(SAUDIO_ANDROID_SLES)
_saudio_sles_backend_shutdown();
#elif defined(_SAUDIO_APPLE)
- return _saudio_coreaudio_backend_shutdown();
+ _saudio_coreaudio_backend_shutdown();
#else
#error "unknown platform"
#endif