Actually set the cursor! :)
This commit is contained in:
parent
642eea1ebc
commit
1918f54080
1 changed files with 3 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue