diff src/video/wincommon/SDL_sysmouse.c @ 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 e8157fcb3114
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysmouse.c	Sun Apr 29 22:59:47 2001 +0000
+++ b/src/video/wincommon/SDL_sysmouse.c	Sun Apr 29 23:00:03 2001 +0000
@@ -192,7 +192,7 @@
 	POINT mouse_pos;
 
 	/* The fullscreen cursor must be done in software with DirectInput */
-	if ( !this->screen || DIRECTX_FULLSCREEN() ) {
+	if ( !this->screen || DDRAW_FULLSCREEN() ) {
 		return(0);
 	}
 
@@ -213,7 +213,7 @@
 {
 	POINT pt;
 
-	if ( DIRECTX_FULLSCREEN() ) {
+	if ( DDRAW_FULLSCREEN() ) {
 		x += (this->screen->offset % this->screen->pitch) /
 		      this->screen->format->BytesPerPixel;
 		y += (this->screen->offset / this->screen->pitch);
@@ -237,7 +237,7 @@
 	RECT rect;
 	POINT pt;
 
-	if ( ! DIRECTX_FULLSCREEN() ) {
+	if ( ! DDRAW_FULLSCREEN() ) {
 		GetClientRect(SDL_Window, &rect);
 		GetCursorPos(&pt);
 		MapWindowPoints(NULL, SDL_Window, &pt, 1);