src/core/android/SDL_android.c
changeset 12902 50d0c0ade376
parent 12872 c4db6eade632
child 12910 dd9169424181
     1.1 --- a/src/core/android/SDL_android.c	Fri Jun 21 22:01:27 2019 -0700
     1.2 +++ b/src/core/android/SDL_android.c	Mon Jun 24 18:08:11 2019 +0200
     1.3 @@ -711,6 +711,15 @@
     1.4      SDL_SendDropComplete(NULL);
     1.5  }
     1.6  
     1.7 +/* Lock / Unlock Mutex */
     1.8 +void Android_ActivityMutex_Lock() {
     1.9 +    SDL_LockMutex(Android_ActivityMutex);
    1.10 +}
    1.11 +
    1.12 +void Android_ActivityMutex_Unlock() {
    1.13 +    SDL_UnlockMutex(Android_ActivityMutex);
    1.14 +}
    1.15 +
    1.16  /* Set screen resolution */
    1.17  JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(nativeSetScreenResolution)(
    1.18                                      JNIEnv *env, jclass jcls,