mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-11-22 18:16:30 +00:00
Add missing cursor types
The flowing assert would trip:
SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS)
This commit is contained in:
@@ -34,6 +34,14 @@ static const char *cursorNames[] = {
|
|||||||
"sizeALL",
|
"sizeALL",
|
||||||
"NO",
|
"NO",
|
||||||
"hand",
|
"hand",
|
||||||
|
"window top left",
|
||||||
|
"window top",
|
||||||
|
"window top right",
|
||||||
|
"window right",
|
||||||
|
"window bottom right",
|
||||||
|
"window bottom",
|
||||||
|
"window bottom left",
|
||||||
|
"window left"
|
||||||
};
|
};
|
||||||
static int system_cursor = -1;
|
static int system_cursor = -1;
|
||||||
static SDL_Cursor *cursor = NULL;
|
static SDL_Cursor *cursor = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user