mirror of
https://github.com/yawut/SDL.git
synced 2026-06-11 19:22:14 -05:00
Made it clear that locking a streaming texture is a write-only operation.
This commit is contained in:
parent
da8a7087ee
commit
ed4f2e1ccf
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user