SDL: android: patched to compile.

From 465881d56075d92629571bb0d95326aa494c0ffc Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Fri, 22 Nov 2024 13:50:28 -0500
Subject: [PATCH] android: patched to compile.

---
 src/video/android/SDL_androidevents.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video/android/SDL_androidevents.c b/src/video/android/SDL_androidevents.c
index 40511bc34acaa..056a2024f4bc8 100644
--- a/src/video/android/SDL_androidevents.c
+++ b/src/video/android/SDL_androidevents.c
@@ -45,7 +45,7 @@ static void android_egl_context_restore(SDL_Window *window)
             SDL_Event event;
             SDL_zero(event);
             event.type = SDL_EVENT_RENDER_DEVICE_RESET;
-            event.render.windowID = SDL_GetWindowID(SDL_GetRenderWindow(renderer));
+            event.render.windowID = SDL_GetWindowID(window);
             SDL_PushEvent(&event);
         }
         data->backup_done = false;