mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-28 06:11:49 -07:00
introduce manual clearing path in font cache layer; use to prevent permanent accumulation of font glyphs even after font resizes etc.
This commit is contained in:
@@ -187,7 +187,8 @@ struct FNT_Metrics
|
||||
typedef struct FNT_State FNT_State;
|
||||
struct FNT_State
|
||||
{
|
||||
Arena *arena;
|
||||
Arena *permanent_arena;
|
||||
Arena *raster_arena;
|
||||
|
||||
// rjf: font table
|
||||
U64 font_hash_table_size;
|
||||
@@ -260,5 +261,6 @@ internal F32 fnt_line_height_from_metrics(FNT_Metrics *metrics);
|
||||
//~ rjf: Main Calls
|
||||
|
||||
internal void fnt_init(void);
|
||||
internal void fnt_reset(void);
|
||||
|
||||
#endif // FONT_CACHE_H
|
||||
|
||||
Reference in New Issue
Block a user