summaryrefslogtreecommitdiff
path: root/include/SDL_surface.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-02-21 16:45:23 -0800
committerSam Lantinga <slouken@libsdl.org>2011-02-21 16:45:23 -0800
commitbf27cfc8e13d445d7e79bc6746f322f9d51f2030 (patch)
treeb2f0be75fb70f5779aa0f68890d1c93c0a5b75ae /include/SDL_surface.h
parentdbac2ee661bd0c0fe8d8eead115aa5a9ba15b6e2 (diff)
downloadsdl-bf27cfc8e13d445d7e79bc6746f322f9d51f2030.tar.gz
Implemented Cocoa_SetWindowIcon(), added SDL_ConvertSurfaceFormat()
Diffstat (limited to 'include/SDL_surface.h')
-rw-r--r--include/SDL_surface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/SDL_surface.h b/include/SDL_surface.h
index 08e68fd48..25f64d270 100644
--- a/include/SDL_surface.h
+++ b/include/SDL_surface.h
@@ -351,6 +351,8 @@ extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface,
*/
extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface
(SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
+extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
+ (SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
/**
* \brief Copy a block of pixels of one format to another format