Mercurial > sdl-ios-xcode
changeset 335:bc4d50d2edd9
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 10 Apr 2002 02:14:33 +0000 |
parents | f65715bd8ad8 |
children | 745873ea091f |
files | src/video/wincommon/SDL_lowvideo.h src/video/wincommon/SDL_sysevents.c |
diffstat | 2 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 */