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".