mirror of https://github.com/encounter/SDL.git
Patched to compile on Android when audio subsystem is disabled (thanks, Jonas!)
Fixes Bugzilla #2797.
This commit is contained in:
parent
3e4a8ce1c2
commit
0713c1e53b
|
@ -32,8 +32,14 @@
|
||||||
|
|
||||||
void android_egl_context_backup();
|
void android_egl_context_backup();
|
||||||
void android_egl_context_restore();
|
void android_egl_context_restore();
|
||||||
|
|
||||||
|
#if SDL_AUDIO_DRIVER_ANDROID
|
||||||
void AndroidAUD_ResumeDevices(void);
|
void AndroidAUD_ResumeDevices(void);
|
||||||
void AndroidAUD_PauseDevices(void);
|
void AndroidAUD_PauseDevices(void);
|
||||||
|
#else
|
||||||
|
static void AndroidAUD_ResumeDevices(void) {}
|
||||||
|
static void AndroidAUD_PauseDevices(void) {}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
android_egl_context_restore()
|
android_egl_context_restore()
|
||||||
|
|
Loading…
Reference in New Issue