Destroy a text engine created for drawing text with OpenGL.
Defined in <SDL3_ttf/SDL_ttf.h>
void TTF_DestroyGLTextEngine(TTF_TextEngine *engine);| TTF_TextEngine * | engine | a TTF_TextEngine object created with TTF_CreateGLTextEngine(). |
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.3.0.