diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1019,6 +1019,9 @@ void processEvents_App(enum iAppEventMode eventMode) { | |||
1019 | case SDL_APP_LOWMEMORY: | 1019 | case SDL_APP_LOWMEMORY: |
1020 | clearCache_App_(); | 1020 | clearCache_App_(); |
1021 | break; | 1021 | break; |
1022 | case SDL_APP_WILLENTERFOREGROUND: | ||
1023 | invalidate_Window(d->window); | ||
1024 | break; | ||
1022 | case SDL_APP_DIDENTERFOREGROUND: | 1025 | case SDL_APP_DIDENTERFOREGROUND: |
1023 | gotEvents = iTrue; | 1026 | gotEvents = iTrue; |
1024 | d->warmupFrames = 5; | 1027 | d->warmupFrames = 5; |