mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-27 15:09:11 +00:00
Renamed SDL_PostSemaphore() to SDL_SignalSemphore()
This commit is contained in:
parent
27f86cbe18
commit
a7c0192017
31 changed files with 66 additions and 66 deletions
|
@ -1370,7 +1370,7 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativeSendQuit)(
|
|||
}
|
||||
/* Resume the event loop so that the app can catch SDL_EVENT_QUIT which
|
||||
* should now be the top event in the event queue. */
|
||||
SDL_PostSemaphore(Android_ResumeSem);
|
||||
SDL_SignalSemaphore(Android_ResumeSem);
|
||||
}
|
||||
|
||||
/* Activity ends */
|
||||
|
@ -1412,7 +1412,7 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativePause)(
|
|||
|
||||
/* Signal the pause semaphore so the event loop knows to pause and (optionally) block itself.
|
||||
* Sometimes 2 pauses can be queued (eg pause/resume/pause), so it's always increased. */
|
||||
SDL_PostSemaphore(Android_PauseSem);
|
||||
SDL_SignalSemaphore(Android_PauseSem);
|
||||
}
|
||||
|
||||
/* Resume */
|
||||
|
@ -1425,7 +1425,7 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativeResume)(
|
|||
* We can't restore the GL Context here because it needs to be done on the SDL main thread
|
||||
* and this function will be called from the Java thread instead.
|
||||
*/
|
||||
SDL_PostSemaphore(Android_ResumeSem);
|
||||
SDL_SignalSemaphore(Android_ResumeSem);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativeFocusChanged)(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue