cache font _files_ as well to avoid duplicate buffers

This commit is contained in:
2024-10-13 21:34:05 -03:00
parent 82bad550e5
commit ffab6a3924
2 changed files with 36 additions and 9 deletions

View File

@ -22,8 +22,6 @@ typedef struct FontData {
stbtt_fontinfo info;
const char *file_path;
unsigned char *file_bytes;
size_t file_bytes_len;
GPUTexture texture;