Fixed build

This commit is contained in:
Sam Lantinga
2023-12-15 10:03:11 -08:00
parent 5547007915
commit cbf9012c74

View File

@@ -395,7 +395,7 @@ int main(int argc, char *argv[])
} }
for (i = 0; i < SDL_NUM_SYSTEM_CURSORS; ++i) { for (i = 0; i < SDL_NUM_SYSTEM_CURSORS; ++i) {
SDL_Cursor *cursor = SDL_CreateSystemCursor((SDL_SystemCursor)i); cursor = SDL_CreateSystemCursor((SDL_SystemCursor)i);
if (cursor) { if (cursor) {
cursors[num_cursors] = cursor; cursors[num_cursors] = cursor;
cursor_types[num_cursors] = i; cursor_types[num_cursors] = i;