summaryrefslogtreecommitdiff
path: root/include
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
commite6f2e1c2fae5b1b7fef12b125d39dd54c205cd86 (patch)
tree252d1237fe77c47cd38acd44fe0c05293c04f6b8 /include
parentb52857ee96c2554ebd85ea998862aabfe7a204ae (diff)
You need to create the texture with the SDL_TEXTUREACCESS_TARGET flag.
Diffstat (limited to 'include')
-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 2d413df5..7f0c815f 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
*/