Create a text engine for drawing text with OpenGL.
Defined in <SDL3_ttf/SDL_ttf.h>
TTF_TextEngine * TTF_CreateGLTextEngine(void);(TTF_TextEngine *) Returns a TTF_TextEngine object or NULL on failure; call SDL_GetError() for more information.
The caller is responsible for ensuring the correct OpenGL context is current when calling this function and when using the resulting text engine.
The GL text engine and all text created with it become invalid if the OpenGL context is destroyed. Destroy the engine before destroying the context.
This function should be called on the thread that created the OpenGL context.
This function is available since SDL_ttf 3.3.0.