mirror of
https://github.com/encounter/SDL.git
synced 2025-12-08 13:15:10 +00:00
Sync wiki -> header
This commit is contained in:
@@ -666,7 +666,7 @@ extern DECLSPEC int SDLCALL SDL_LockTextureToSurface(SDL_Texture *texture,
|
||||
* Unlock a texture, uploading the changes to video memory, if needed.
|
||||
*
|
||||
* **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
|
||||
* before unlocking it, as the pixels might otherwise be uninitialized memory.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user