diff --git a/src/video/android/SDL_androidvideo.c b/src/video/android/SDL_androidvideo.c index f7c9c09c7c..7804fe9de2 100644 --- a/src/video/android/SDL_androidvideo.c +++ b/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); } }