# HG changeset patch # User Sam Lantinga # Date 1018404873 0 # Node ID bc4d50d2edd9c8096476e52a8fc18ef448a2494f # Parent f65715bd8ad8fce0fd9c1f8dd3a4bbf4fed6a3aa *** empty log message *** diff -r f65715bd8ad8 -r bc4d50d2edd9 src/video/wincommon/SDL_lowvideo.h --- a/src/video/wincommon/SDL_lowvideo.h Tue Apr 09 23:49:06 2002 +0000 +++ b/src/video/wincommon/SDL_lowvideo.h Wed Apr 10 02:14:33 2002 +0000 @@ -37,12 +37,14 @@ #define WINDIB_FULLSCREEN() \ ( \ + SDL_VideoSurface && \ ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ (strcmp(this->name, "windib") == 0)) \ ) #define DDRAW_FULLSCREEN() \ ( \ + SDL_VideoSurface && \ ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ (strcmp(this->name, "directx") == 0) \ diff -r f65715bd8ad8 -r bc4d50d2edd9 src/video/wincommon/SDL_sysevents.c --- a/src/video/wincommon/SDL_sysevents.c Tue Apr 09 23:49:06 2002 +0000 +++ b/src/video/wincommon/SDL_sysevents.c Wed Apr 10 02:14:33 2002 +0000 @@ -190,10 +190,6 @@ BOOL minimized; Uint8 appstate; - if ( ! this->screen ) { - /* What do we do when we get the screen? */ - return(0); - } minimized = HIWORD(wParam); if ( !minimized && (LOWORD(wParam) != WA_INACTIVE) ) { /* Gain the following states */