mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 07:41:45 +00:00
riscos: Add a basic implementation of SDL_ShowCursor()
This commit is contained in:

committed by
Sam Lantinga

parent
4c711d2d43
commit
6eda520f64
@@ -23,6 +23,7 @@
|
||||
#if SDL_VIDEO_DRIVER_RISCOS
|
||||
|
||||
#include "../SDL_sysvideo.h"
|
||||
#include "../../events/SDL_mouse_c.h"
|
||||
|
||||
#include "SDL_riscosvideo.h"
|
||||
#include "SDL_riscosmodes.h"
|
||||
@@ -304,8 +305,8 @@ RISCOS_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode)
|
||||
_kernel_oswrch(disable_cursor[i]);
|
||||
}
|
||||
|
||||
/* Turn the mouse pointer on */
|
||||
/* _kernel_osbyte(106, 1, 0); */
|
||||
/* Update cursor visibility, since it may have been disabled by the mode change. */
|
||||
SDL_SetCursor(NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user