Made it clear that locking a streaming texture is a write-only operation.
This commit is contained in:
parent
049837bbfc
commit
400b953d29
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture,
|
||||||
const void *pixels, int pitch);
|
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
|
* \param texture The texture to lock for access, which was created with
|
||||||
* ::SDL_TEXTUREACCESS_STREAMING.
|
* ::SDL_TEXTUREACCESS_STREAMING.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue