Free an RTF display context.
Defined in <SDL3_rtf/SDL_rtf.h>
void RTF_FreeContext(RTF_Context *ctx);
RTF_Context * | ctx | the RTF context to free. |
Call this when done rendering RTF content, to free resources used by this context.
The context is not valid after this call. This does not destroy the associated SDL_Renderer, which can continue to draw and present.
This function is available since SDL_rtf 3.0.0.