Browse Source

Fixed window and backbuffer size on Android

Sam Lantinga 2 years ago
parent
commit
068d3da366
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/video/android/SDL_androidvideo.c

+ 1 - 1
src/video/android/SDL_androidvideo.c

@@ -279,7 +279,7 @@ void Android_SendResize(SDL_Window *window)
     }
 
     if (window) {
-        SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_RESIZED, Android_SurfaceWidth, Android_SurfaceWidth);
+        SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_RESIZED, Android_SurfaceWidth, Android_SurfaceHeight);
     }
 }