comparison src/video/wincommon/SDL_lowvideo.h @ 335:bc4d50d2edd9

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Wed, 10 Apr 2002 02:14:33 +0000
parents 1b5457c0a8ad
children 518ffd98a8f6
comparison
equal deleted inserted replaced
334:f65715bd8ad8 335:bc4d50d2edd9
35 /* Hidden "this" pointer for the video functions */ 35 /* Hidden "this" pointer for the video functions */
36 #define _THIS SDL_VideoDevice *this 36 #define _THIS SDL_VideoDevice *this
37 37
38 #define WINDIB_FULLSCREEN() \ 38 #define WINDIB_FULLSCREEN() \
39 ( \ 39 ( \
40 SDL_VideoSurface && \
40 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 41 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
41 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ 42 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \
42 (strcmp(this->name, "windib") == 0)) \ 43 (strcmp(this->name, "windib") == 0)) \
43 ) 44 )
44 #define DDRAW_FULLSCREEN() \ 45 #define DDRAW_FULLSCREEN() \
45 ( \ 46 ( \
47 SDL_VideoSurface && \
46 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 48 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
47 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ 49 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \
48 (strcmp(this->name, "directx") == 0) \ 50 (strcmp(this->name, "directx") == 0) \
49 ) 51 )
50 52