summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2011-10-31 02:44:21 -0400
committerSam Lantinga <slouken@libsdl.org>2011-10-31 02:44:21 -0400
commit861c4ab848d7aa2b86c292f5e9dfa334bc775b87 (patch)
treeb18327e3e28342fe6824a9ba77405ccf7740b962 /include
parent497ae4e556bb3ac80e7353229300a9e1c134b227 (diff)
SDL_ConvertPixels() returns 0 on success
Diffstat (limited to 'include')
-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 77b58258..f8c95b27 100644
--- a/include/SDL_surface.h
+++ b/include/SDL_surface.h
@@ -355,6 +355,8 @@ extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat
/**
* \brief Copy a block of pixels of one format to another format
+ *
+ * \return 0 on success, or -1 if there was an error
*/
extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height,
Uint32 src_format,