summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2012-01-22 01:29:26 -0500
committerSam Lantinga <slouken@libsdl.org>2012-01-22 01:29:26 -0500
commit17801a9eb76d7e27330990d89c050c3d0cc9962d (patch)
tree77565dc5d2fd6de64f174d855076f21b32bb53d6 /include/SDL_render.h
parentd56b374c6690bd570dced9373bca292979da0b22 (diff)
downloadsdl-17801a9eb76d7e27330990d89c050c3d0cc9962d.tar.gz
You need to create the texture with the SDL_TEXTUREACCESS_TARGET flag.
Diffstat (limited to 'include/SDL_render.h')
-rw-r--r--include/SDL_render.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/SDL_render.h b/include/SDL_render.h
index 2d413df50..7f0c815fa 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -384,7 +384,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *rendere
/**
* \brief Set a texture as the current rendering target.
*
- * \param texture The targeted texture, or NULL for the default render target
+ * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target
*
* \return 0 on success, or -1 on error
*/