summaryrefslogtreecommitdiff
path: root/include/SDL_render.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2012-09-28 03:29:36 -0700
committerSam Lantinga <slouken@libsdl.org>2012-09-28 03:29:36 -0700
commit5ca5365512b64fa49643c1a32630daa41b1a2ad3 (patch)
treeb3c18a3b3b4e985e83de7b652dba64352092399e /include/SDL_render.h
parent9d52984f2cc548709d683c17abcd968724bd0356 (diff)
downloadsdl-5ca5365512b64fa49643c1a32630daa41b1a2ad3.tar.gz
Made it clear that locking a streaming texture is a write-only operation.
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 e28119a65..cac1f22c6 100644
--- a/include/SDL_render.h
+++ b/include/SDL_render.h
@@ -373,7 +373,7 @@ extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
const void *pixels, int pitch);
/**
- * \brief Lock a portion of the texture for pixel access.
+ * \brief Lock a portion of the texture for write-only pixel access.
*
* \param texture The texture to lock for access, which was created with
* ::SDL_TEXTUREACCESS_STREAMING.