|
Size: 592
Comment: update content - 2/14 changeset 5295 (as of 5145); moved to render.h
|
← Revision 8 as of 2014-12-12 00:33:33 ⇥
Size: 653
Comment: Per wiki feedback, added remark regarding what happens if users pass NULL
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 23: | Line 23: |
| ''You can add useful comments here'' | Passing NULL or an otherwise invalid texture will set the SDL error message to "Invalid texture". |
SDL_DestroyTexture
Use this function to destroy the specified texture.
Syntax
void SDL_DestroyTexture(SDL_Texture* texture)
Function Parameters
texture |
the texture to destroy |
Code Examples
You can add your code example here
Remarks
Passing NULL or an otherwise invalid texture will set the SDL error message to "Invalid texture".
