mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-01 23:26:57 +00:00
parent
2d54e41fdb
commit
21101ef355
@ -1278,6 +1278,11 @@ void _GNW95_process_message()
|
||||
case SDL_WINDOWEVENT_EXPOSED:
|
||||
windowRefreshAll(&_scr_size);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_SIZE_CHANGED:
|
||||
// TODO: Recreate gSdlSurface in case size really changed (i.e.
|
||||
// not alt-tabbing in fullscreen mode).
|
||||
gSdlWindowSurface = SDL_GetWindowSurface(gSdlWindow);
|
||||
break;
|
||||
case SDL_WINDOWEVENT_FOCUS_GAINED:
|
||||
gProgramIsActive = true;
|
||||
windowRefreshAll(&_scr_size);
|
||||
|
Loading…
Reference in New Issue
Block a user