Destroy a text engine created for drawing text on SDL surfaces.
Defined in <SDL3_ttf/SDL_ttf.h>
void TTF_DestroySurfaceTextEngine(TTF_TextEngine *engine);
TTF_TextEngine * | engine | a TTF_TextEngine object created with TTF_CreateSurfaceTextEngine(). |
All text created by this engine should be destroyed before calling this function.
This function should be called on the thread that created the engine.
This function is available since SDL_ttf 3.0.0.