Преглед на файлове

Android life cycle behavior more closely matches iOS

On iOS, the application gets one last change to process messages before going into the background. We do the same on Android, which more closely matches the previous behavior.
Sam Lantinga преди 1 година
родител
ревизия
83c7ce2681
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      src/video/android/SDL_androidevents.c

+ 0 - 2
src/video/android/SDL_androidevents.c

@@ -101,7 +101,6 @@ void Android_InitEvents(void)
 
 void Android_PumpEvents(void)
 {
-restart:
     if (Android_Paused) {
         if (SDL_WaitSemaphoreTimeout(Android_ResumeSem, Android_PausedWaitTime) == 0) {
 
@@ -166,7 +165,6 @@ restart:
             }
 
             Android_Paused = SDL_TRUE;
-            goto restart;
         }
     }
 }