diff src/video/SDL_cursor.c @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children 1e7e61b9b0f9
line wrap: on
line diff
--- a/src/video/SDL_cursor.c	Thu Apr 26 16:45:43 2001 +0000
+++ b/src/video/SDL_cursor.c	Thu Apr 26 16:50:19 2001 +0000
@@ -723,7 +723,9 @@
 		SDL_Rect area;
 
 		SDL_MouseRect(&area);
-		video->UpdateRects(this, 1, &area);
+		if ( video->UpdateRects ) {
+			video->UpdateRects(this, 1, &area);
+		}
 	}
 }