|
|
@ -572,7 +572,6 @@ static void SDLash_EventFilter( SDL_Event *event ) |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
VID_SaveWindowSize( event->window.data1, event->window.data2 ); |
|
|
|
VID_SaveWindowSize( event->window.data1, event->window.data2 ); |
|
|
|
SCR_VidInit(); // tell the client.dll that vid_mode has changed
|
|
|
|
|
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
default: |
|
|
|
default: |
|
|
@ -581,8 +580,7 @@ static void SDLash_EventFilter( SDL_Event *event ) |
|
|
|
#else |
|
|
|
#else |
|
|
|
case SDL_VIDEORESIZE: |
|
|
|
case SDL_VIDEORESIZE: |
|
|
|
VID_SaveWindowSize( event->resize.w, event->resize.h ); |
|
|
|
VID_SaveWindowSize( event->resize.w, event->resize.h ); |
|
|
|
SCR_VidInit(); |
|
|
|
break; |
|
|
|
break; // tell the client.dll that vid_mode has changed
|
|
|
|
|
|
|
|
case SDL_ACTIVEEVENT: |
|
|
|
case SDL_ACTIVEEVENT: |
|
|
|
SDLash_ActiveEvent( event->active.gain ); |
|
|
|
SDLash_ActiveEvent( event->active.gain ); |
|
|
|
break; |
|
|
|
break; |
|
|
|