Add missing cursor types

The flowing assert would trip:
    SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS)
main
Susko3 2023-12-25 23:02:02 +01:00 committed by Sam Lantinga
parent 6daf2e943f
commit a28ac29aa0
1 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,14 @@ static const char *cursorNames[] = {
"sizeALL",
"NO",
"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 SDL_Cursor *cursor = NULL;