From 88674b4a0e5e61653d2b184c25a1ccbdddca50b6 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 4 Aug 2021 13:17:35 -0700 Subject: [PATCH] Fixed build --- src/video/SDL_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c index 760af2a0e..ba150905e 100644 --- a/src/video/SDL_video.c +++ b/src/video/SDL_video.c @@ -1169,7 +1169,7 @@ SDL_SetWindowDisplayMode(SDL_Window * window, const SDL_DisplayMode * mode) * use fullscreen_mode.w and fullscreen_mode.h, but rather get our current native size. As such, * Android's SetWindowFullscreen will generate the window event for us with the proper final size. */ - SDL_SendWindowEvent(other, SDL_WINDOWEVENT_RESIZED, fullscreen_mode.w, fullscreen_mode.h); + SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESIZED, fullscreen_mode.w, fullscreen_mode.h); #endif } }