diff options
author | Sam Lantinga <slouken@libsdl.org> | 2012-09-28 03:29:36 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2012-09-28 03:29:36 -0700 |
commit | 5ca5365512b64fa49643c1a32630daa41b1a2ad3 (patch) | |
tree | b3c18a3b3b4e985e83de7b652dba64352092399e /include/SDL_render.h | |
parent | 9d52984f2cc548709d683c17abcd968724bd0356 (diff) | |
download | sdl-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.h | 2 |
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. |