mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
fix for SDL 2.0.14
This commit is contained in:
parent
0fd17a98ff
commit
3f4eed670f
@ -2245,6 +2245,7 @@ static int SDLCALL on_sdl_event_generated(void *userdata, SDL_Event * event)
|
||||
case SDL_WINDOWEVENT: {
|
||||
switch (event->window.event) {
|
||||
case SDL_WINDOWEVENT_RESIZED: {
|
||||
if (!redraw_thread_active) break;
|
||||
// Handle changes of fullscreen. This is done here, in
|
||||
// on_sdl_event_generated() and not the main SDL_Event-processing
|
||||
// loop, in order to perform this change on the main thread.
|
||||
|
Loading…
Reference in New Issue
Block a user