mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 01:16:26 +00:00
SDL API renaming: SDL_Alloc*/SDL_Free* -> SDL_Create*/SDL_Destroy*
Fixes https://github.com/libsdl-org/SDL/issues/6945
This commit is contained in:
@@ -883,7 +883,7 @@ void SDL_QuitMouse(void)
|
||||
cursor = mouse->cursors;
|
||||
while (cursor) {
|
||||
next = cursor->next;
|
||||
SDL_FreeCursor(cursor);
|
||||
SDL_DestroyCursor(cursor);
|
||||
cursor = next;
|
||||
}
|
||||
mouse->cursors = NULL;
|
||||
@@ -1380,7 +1380,7 @@ SDL_GetDefaultCursor(void)
|
||||
return mouse->def_cursor;
|
||||
}
|
||||
|
||||
void SDL_FreeCursor(SDL_Cursor *cursor)
|
||||
void SDL_DestroyCursor(SDL_Cursor *cursor)
|
||||
{
|
||||
SDL_Mouse *mouse = SDL_GetMouse();
|
||||
SDL_Cursor *curr, *prev;
|
||||
|
Reference in New Issue
Block a user