summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2015-08-21 23:50:59 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2015-08-21 23:50:59 +0200
commite5f519faeb4d07f44ce4ba7c7988fb9925c72d8e (patch)
treef64c6cc640a5d2a509f64cd220548a6a31c2a3ca /include/SDL_render.h
parentf8cade75b1eda95a9d7175df4e30ee0cbf30832b (diff)
downloadsdl-e5f519faeb4d07f44ce4ba7c7988fb9925c72d8e.tar.gz
Corrected documentation of the SDL_CreateTexture() functions in header file.
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r--include/SDL_render.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h
index b73d6e687..de2749cce 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -229,7 +229,7 @@ extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer,
* \param w The width of the texture in pixels.
* \param h The height of the texture in pixels.
*
- * \return The created texture is returned, or 0 if no rendering context was
+ * \return The created texture is returned, or NULL if no rendering context was
* active, the format was unsupported, or the width or height were out
* of range.
*
@@ -248,7 +248,7 @@ extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer * renderer,
* \param renderer The renderer.
* \param surface The surface containing pixel data used to fill the texture.
*
- * \return The created texture is returned, or 0 on error.
+ * \return The created texture is returned, or NULL on error.
*
* \note The surface is not modified or freed by this function.
*