Fixed bug 4669: Android software renderer, black screen when window resizes

Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes
This commit is contained in:
Sylvain Becker 2019-06-17 22:31:36 +02:00
parent 6c4765a17a
commit f2157b6c25
4 changed files with 8 additions and 1 deletions

View file

@ -732,7 +732,7 @@ JNIEXPORT void JNICALL SDL_JAVA_INTERFACE(onNativeResize)(
if (Android_Window)
{
Android_SendResize(Android_Window);
Android_send_resize = 1;
}
SDL_UnlockMutex(Android_ActivityMutex);