Mercurial > sdl-ios-xcode
comparison src/video/wincommon/SDL_lowvideo.h @ 325:1b5457c0a8ad
Fixed the bug where mouse cursor and SDL mouse coordinates didn't match
in Windows OpenGL mode.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 31 Mar 2002 02:42:43 +0000 |
parents | ec53caed9fb2 |
children | bc4d50d2edd9 |
comparison
equal
deleted
inserted
replaced
324:f25f666d609a | 325:1b5457c0a8ad |
---|---|
46 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | 46 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ |
47 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ | 47 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ |
48 (strcmp(this->name, "directx") == 0) \ | 48 (strcmp(this->name, "directx") == 0) \ |
49 ) | 49 ) |
50 | 50 |
51 #define DINPUT_FULLSCREEN() \ | 51 #define DINPUT_FULLSCREEN() DDRAW_FULLSCREEN() |
52 ( \ | |
53 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ | |
54 (strcmp(this->name, "directx") == 0) \ | |
55 ) | |
56 | 52 |
57 /* The main window -- and a function to set it for the audio */ | 53 /* The main window -- and a function to set it for the audio */ |
58 extern const char *SDL_Appname; | 54 extern const char *SDL_Appname; |
59 extern HINSTANCE SDL_Instance; | 55 extern HINSTANCE SDL_Instance; |
60 extern HWND SDL_Window; | 56 extern HWND SDL_Window; |