mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-01-11 10:30:09 +00:00
SDL: Let video driver know about cursor type change
This commit is contained in:
parent
ff423fe7c9
commit
efae88ea7c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user