summaryrefslogtreecommitdiff
path: root/include/SDL_surface.h
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2013-09-04 23:40:11 -0400
committerRyan C. Gordon <icculus@icculus.org>2013-09-04 23:40:11 -0400
commitf48312b20c93da1408ec6d2bcbc890d8edd8f5ac (patch)
tree60e0db2e91dd7bc49d153f7ce57f27fbf5e1cbd0 /include/SDL_surface.h
parent01b2d1c5aa6131025aca6944953e04065dd1b11a (diff)
downloadsdl-f48312b20c93da1408ec6d2bcbc890d8edd8f5ac.tar.gz
The SDL_PixelFormat* passed to SDL_ConvertSurface() should be const.
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r--include/SDL_surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h
index 4062012df..e18153a69 100644
--- a/include/SDL_surface.h
+++ b/include/SDL_surface.h
@@ -357,7 +357,7 @@ extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
* surface.
*/
extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
- (SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
+ (SDL_Surface * src, const SDL_PixelFormat * fmt, Uint32 flags);
extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
(SDL_Surface * src, Uint32 pixel_format, Uint32 flags);