From ade334833cfd67f9a139fbafe5804b5f4d8df741 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 28 Sep 2012 03:29:36 -0700 Subject: [PATCH] Made it clear that locking a streaming texture is a write-only operation. --- include/SDL_render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.