mirror of
https://github.com/gopher64/gopher64.git
synced 2026-07-25 00:04:54 +02:00
Sync sdl window to prevent fullscreen issues (#481)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user