summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-12 13:25:34 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2013-05-12 13:25:34 +0200
commit107ec42defe51201cbf4895f999ad5ce35672a85 (patch)
tree52724dff3affac8dc106d972ffaa50a1b011133f /include/SDL_render.h
parent0349b8df9a02c2620b928107264954df646b5741 (diff)
downloadsdl-107ec42defe51201cbf4895f999ad5ce35672a85.tar.gz
Fixed bug 1843 - SDL_RenderClear prototype doxygen missing
Martin Gerhardy SDL_RenderClear prototype misses documentation for the return value
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r--include/SDL_render.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h
index fea64f617..453209913 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -604,6 +604,8 @@ extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer * renderer,
* \brief Clear the current rendering target with the drawing color
*
* This function clears the entire rendering target, ignoring the viewport.
+ *
+ * \return 0 on success, or -1 on error
*/
extern DECLSPEC int SDLCALL SDL_RenderClear(SDL_Renderer * renderer);