mirror of
https://github.com/yawut/SDL.git
synced 2026-08-28 11:45:13 -05:00
Actually set the cursor! :)
This commit is contained in:
@@ -92,6 +92,9 @@ Cocoa_ShowCursor(SDL_Cursor * cursor)
|
||||
|
||||
if (SDL_GetMouseFocus()) {
|
||||
if (cursor) {
|
||||
NSCursor *nscursor = (NSCursor *)cursor->driverdata;
|
||||
|
||||
[nscursor set];
|
||||
[NSCursor unhide];
|
||||
} else {
|
||||
[NSCursor hide];
|
||||
|
||||
Reference in New Issue
Block a user