comparison src/video/wincommon/SDL_lowvideo.h @ 13:e30a8ce27c22

Fixed double-mouse event bug on Windows using OpenGL
author Sam Lantinga <slouken@lokigames.com>
date Sun, 29 Apr 2001 23:00:03 +0000
parents 74212992fb08
children 29a638dc26db
comparison
equal deleted inserted replaced
12:34d956b20f75 13:e30a8ce27c22
33 #include "SDL_sysvideo.h" 33 #include "SDL_sysvideo.h"
34 34
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 DIRECTX_FULLSCREEN() \ 38 #define DDRAW_FULLSCREEN() \
39 ( \ 39 ( \
40 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 40 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
41 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ 41 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \
42 (strcmp(this->name, "directx") == 0) \
43 )
44
45 #define DINPUT_FULLSCREEN() \
46 ( \
47 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
42 (strcmp(this->name, "directx") == 0) \ 48 (strcmp(this->name, "directx") == 0) \
43 ) 49 )
44 50
45 /* The main window -- and a function to set it for the audio */ 51 /* The main window -- and a function to set it for the audio */
46 extern const char *SDL_Appname; 52 extern const char *SDL_Appname;