From 068d3da366cdaa6764414ac74c379e2601db47ca Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 18 May 2023 16:11:57 -0700 Subject: [PATCH] Fixed window and backbuffer size on Android --- src/video/android/SDL_androidvideo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/android/SDL_androidvideo.c b/src/video/android/SDL_androidvideo.c index f7c9c09c7..7804fe9de 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); } }