diff 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
line wrap: on
line diff
--- a/src/video/wincommon/SDL_lowvideo.h	Sat Mar 30 21:41:01 2002 +0000
+++ b/src/video/wincommon/SDL_lowvideo.h	Sun Mar 31 02:42:43 2002 +0000
@@ -48,11 +48,7 @@
 	(strcmp(this->name, "directx") == 0)				\
 )
 
-#define DINPUT_FULLSCREEN() 						\
-(									\
-	((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
-	(strcmp(this->name, "directx") == 0)				\
-)
+#define DINPUT_FULLSCREEN()	DDRAW_FULLSCREEN()
 
 /* The main window -- and a function to set it for the audio */
 extern const char *SDL_Appname;