Improve Android pause/resume behavior.
This commit is contained in:
parent
e2be1694c1
commit
7f809e64d8
2 changed files with 10 additions and 10 deletions
|
@ -66,8 +66,6 @@ Android_PumpEvents(_THIS)
|
|||
/*
|
||||
* Android_ResumeSem and Android_PauseSem are signaled from Java_org_libsdl_app_SDLActivity_nativePause and Java_org_libsdl_app_SDLActivity_nativeResume
|
||||
* When the pause semaphore is signaled, if SDL_ANDROID_BLOCK_ON_PAUSE is defined the event loop will block until the resume signal is emitted.
|
||||
* When the resume semaphore is signaled, SDL_GL_CreateContext is called which in turn calls Java code
|
||||
* SDLActivity::createGLContext -> SDLActivity:: initEGL -> SDLActivity::createEGLSurface -> SDLActivity::createEGLContext
|
||||
*/
|
||||
|
||||
#if SDL_ANDROID_BLOCK_ON_PAUSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue