SDL: Let video driver know about cursor type change

This commit is contained in:
Dave Vasilevsky 2013-04-07 22:28:46 -04:00
parent ff423fe7c9
commit efae88ea7c

View File

@ -726,6 +726,9 @@ void driver_base::adapt_to_video_mode() {
SDL_SetCursor(sdl_cursor);
}
}
// Tell the video driver there's a change in cursor type
if (private_data)
private_data->cursorHardware = hardware_cursor;
#endif
// Hide cursor
SDL_ShowCursor(hardware_cursor);