--- 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) \
--- 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 */