Sponsor:

Your company here ā€” click to reach over 10,000 unique daily visitors

destroy_font - Man Page

Frees the memory being used by a font structure. Allegro game programming library.

Synopsis

#include <allegro.h>

void destroy_font(FONT *f);

Description

Frees the memory being used by a font structure. Don't use this on the default global Allegro font or any text routines using it could crash. You should use this only on fonts you have loaded manually after you are done with them, to prevent memory leaks in your program.

See Also

load_datafile_object(3), load_font(3), exfont(3)

Referenced By

exfont(3), load_font(3).

version 4.4.3 Allegro manual