Skip to content

Commit

Permalink
Patched to compile on Android when audio subsystem is disabled (thank…
Browse files Browse the repository at this point in the history
…s, Jonas!)

Fixes Bugzilla #2797.
  • Loading branch information
icculus committed Apr 5, 2015
1 parent 3e4a8ce commit 0713c1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/video/android/SDL_androidevents.c
Expand Up @@ -32,8 +32,14 @@

void android_egl_context_backup();
void android_egl_context_restore();

#if SDL_AUDIO_DRIVER_ANDROID
void AndroidAUD_ResumeDevices(void);
void AndroidAUD_PauseDevices(void);
#else
static void AndroidAUD_ResumeDevices(void) {}
static void AndroidAUD_PauseDevices(void) {}
#endif

void
android_egl_context_restore()
Expand Down

0 comments on commit 0713c1e

Please sign in to comment.