comparison 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
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
721 SDL_VideoDevice *video = current_video; 721 SDL_VideoDevice *video = current_video;
722 SDL_VideoDevice *this = current_video; 722 SDL_VideoDevice *this = current_video;
723 SDL_Rect area; 723 SDL_Rect area;
724 724
725 SDL_MouseRect(&area); 725 SDL_MouseRect(&area);
726 video->UpdateRects(this, 1, &area); 726 if ( video->UpdateRects ) {
727 video->UpdateRects(this, 1, &area);
728 }
727 } 729 }
728 } 730 }
729 731
730 /* Reset the cursor on video mode change 732 /* Reset the cursor on video mode change
731 FIXME: Keep track of all cursors, and reset them all. 733 FIXME: Keep track of all cursors, and reset them all.