mirror of https://github.com/encounter/SDL.git
Sync wiki -> header
This commit is contained in:
parent
9c799802c9
commit
1c6414603c
|
@ -666,7 +666,7 @@ extern DECLSPEC int SDLCALL SDL_LockTextureToSurface(SDL_Texture *texture,
|
||||||
* Unlock a texture, uploading the changes to video memory, if needed.
|
* Unlock a texture, uploading the changes to video memory, if needed.
|
||||||
*
|
*
|
||||||
* **Warning**: Please note that SDL_LockTexture() is intended to be
|
* **Warning**: Please note that SDL_LockTexture() is intended to be
|
||||||
* write-only; it will notguarantee the previous contents of the texture will
|
* write-only; it will not guarantee the previous contents of the texture will
|
||||||
* be provided. You must fully initialize any area of a texture that you lock
|
* be provided. You must fully initialize any area of a texture that you lock
|
||||||
* before unlocking it, as the pixels might otherwise be uninitialized memory.
|
* before unlocking it, as the pixels might otherwise be uninitialized memory.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue