Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Made it clear that locking a streaming texture is a write-only operat…
Browse files Browse the repository at this point in the history
…ion.
  • Loading branch information
slouken committed Sep 28, 2012
1 parent d0d1d97 commit ade3348
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_render.h
Expand Up @@ -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.
Expand Down

0 comments on commit ade3348

Please sign in to comment.