Destroy the specified texture.
Passing null or an otherwise invalid texture will set the SDL error message to "Invalid texture".
The texture to destroy.
Threadsafety: This function should only be called on the main thread.
SDL_CreateTexture SDL_CreateTextureFromSurface
See Implementation
Destroy the specified texture.
Passing null or an otherwise invalid texture will set the SDL error message to "Invalid texture".