SDL School

API reference / Text with SDL_ttf

TTF_Quit

Function, SDL_ttf

Ends SDL_ttf. Close your fonts first.

Declaration

#include <SDL3_ttf/SDL_ttf.h>

void TTF_Quit(void);

Example

Draw text
TTF_Quit();

See this code run in Draw text. Download the full program (.zip)

In SDL2

The name is the same.

See also