Destroy a text object created by a text engine.
Defined in <SDL3_ttf/SDL_ttf.h>
void TTF_DestroyText(TTF_Text *text);
TTF_Text * | text | the text to destroy. |
This function should be called on the thread that created the text.
This function is available since SDL_ttf 3.0.0.