Sync sdl window to prevent fullscreen issues (#481)

This commit is contained in:
Logan McNaughton
2025-07-09 19:55:24 +02:00
committed by GitHub
parent f10c591047
commit b67247f935
+1
View File
@@ -230,6 +230,7 @@ void rdp_init(void *_window, GFX_INFO _gfx_info)
memset(&rdp_device, 0, sizeof(RDP_DEVICE));
window = (SDL_Window *)_window;
SDL_SyncWindow(window);
bool result = SDL_AddEventWatch(sdl_event_filter, nullptr);
if (!result)
{