mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-15 14:26:01 +00:00
The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.
This commit is contained in:
@@ -801,7 +801,7 @@ SDL_UnlockSurface(SDL_Surface * surface)
|
||||
* Convert a surface into the specified pixel format.
|
||||
*/
|
||||
SDL_Surface *
|
||||
SDL_ConvertSurface(SDL_Surface * surface, SDL_PixelFormat * format,
|
||||
SDL_ConvertSurface(SDL_Surface * surface, const SDL_PixelFormat * format,
|
||||
Uint32 flags)
|
||||
{
|
||||
SDL_Surface *convert;
|
||||
|
Reference in New Issue
Block a user