*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Wed, 10 Apr 2002 02:14:33 +0000
changeset 335bc4d50d2edd9
parent 334 f65715bd8ad8
child 336 745873ea091f
*** empty log message ***
src/video/wincommon/SDL_lowvideo.h
src/video/wincommon/SDL_sysevents.c
     1.1 --- a/src/video/wincommon/SDL_lowvideo.h	Tue Apr 09 23:49:06 2002 +0000
     1.2 +++ b/src/video/wincommon/SDL_lowvideo.h	Wed Apr 10 02:14:33 2002 +0000
     1.3 @@ -37,12 +37,14 @@
     1.4  
     1.5  #define WINDIB_FULLSCREEN()						\
     1.6  (									\
     1.7 +	SDL_VideoSurface &&						\
     1.8  	((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
     1.9  	(((SDL_VideoSurface->flags & SDL_OPENGL   ) == SDL_OPENGL    ) || \
    1.10  	 (strcmp(this->name, "windib") == 0))				\
    1.11  )
    1.12  #define DDRAW_FULLSCREEN() 						\
    1.13  (									\
    1.14 +	SDL_VideoSurface &&						\
    1.15  	((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
    1.16  	((SDL_VideoSurface->flags & SDL_OPENGL    ) != SDL_OPENGL    ) && \
    1.17  	(strcmp(this->name, "directx") == 0)				\
     2.1 --- a/src/video/wincommon/SDL_sysevents.c	Tue Apr 09 23:49:06 2002 +0000
     2.2 +++ b/src/video/wincommon/SDL_sysevents.c	Wed Apr 10 02:14:33 2002 +0000
     2.3 @@ -190,10 +190,6 @@
     2.4  			BOOL minimized;
     2.5  			Uint8 appstate;
     2.6  
     2.7 -			if ( ! this->screen ) {
     2.8 -				/* What do we do when we get the screen? */
     2.9 -				return(0);
    2.10 -			}
    2.11  			minimized = HIWORD(wParam);
    2.12  			if ( !minimized && (LOWORD(wParam) != WA_INACTIVE) ) {
    2.13  				/* Gain the following states */