SDL Wiki
(This function is part of SDL_rtf, a separate library from SDL.)

RTF_FreeContext

Free an RTF display context.

Header File

Defined in <SDL3_rtf/SDL_rtf.h>

Syntax

void RTF_FreeContext(RTF_Context *ctx);

Function Parameters

RTF_Context * ctx the RTF context to free.

Remarks

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.

Version

This function is available since SDL_rtf 3.0.0.


CategoryAPI, CategoryAPIFunction


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.