|
Size: 610
Comment: update content - 2/23 5391 (2/3 changeset 5156)
|
Size: 729
Comment: Added warning about Bug No. 1586
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| Line 5: | Line 4: |
| Use this function to unlock a texture, uploading the changes to video memory, if needed. | Use this function to unlock a texture, uploading the changes to video memory, if needed. ''' Warning: See''' [[http://bugzilla.libsdl.org/show_bug.cgi?id=1586|Bug No. 1586]] ''' before using this function!<<BR>>''' |
| Line 13: | Line 12: |
| == Function Parameters == ||'''texture''' ||a texture locked by [[SDL_LockTexture]]() || |
|
| Line 14: | Line 15: |
| == Function Parameters == ||'''texture'''||a texture locked by [[SDL_LockTexture]]()|| |
|
| Line 22: | Line 20: |
| Line 27: | Line 24: |
| .[[SDL_LockTexture]] | . [[SDL_LockTexture]] |
| Line 30: | Line 27: |
| [[CategoryAPI]], [[CategoryRender]] | [[CategoryAPI]], CategoryRender |
SDL_UnlockTexture
Use this function to unlock a texture, uploading the changes to video memory, if needed. Warning: See Bug No. 1586 before using this function!
Syntax
void SDL_UnlockTexture(SDL_Texture* texture)
Function Parameters
texture |
a texture locked by SDL_LockTexture() |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
