Wiki Page Content

Differences between revisions 7 and 8
Revision 7 as of 2011-02-15 19:39:00
Size: 592
Editor: SheenaSmith
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
Editor: ChrisBush
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".


CategoryAPI, CategoryRender

None: SDL_DestroyTexture (last edited 2014-12-12 00:33:33 by ChrisBush)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit