mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
SDL API renaming: SDL_surface.h
Fixes https://github.com/libsdl-org/SDL/issues/6884
This commit is contained in:
@@ -1247,7 +1247,7 @@ SDL_CreateCursor(const Uint8 *data, const Uint8 *mask,
|
||||
|
||||
cursor = SDL_CreateColorCursor(surface, hot_x, hot_y);
|
||||
|
||||
SDL_FreeSurface(surface);
|
||||
SDL_DestroySurface(surface);
|
||||
|
||||
return cursor;
|
||||
}
|
||||
@@ -1290,7 +1290,7 @@ SDL_CreateColorCursor(SDL_Surface *surface, int hot_x, int hot_y)
|
||||
mouse->cursors = cursor;
|
||||
}
|
||||
|
||||
SDL_FreeSurface(temp);
|
||||
SDL_DestroySurface(temp);
|
||||
|
||||
return cursor;
|
||||
}
|
||||
|
Reference in New Issue
Block a user