We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01061ab commit 2940192Copy full SHA for 2940192
src/rmkit/fb/stb_text.cpy
@@ -20,8 +20,8 @@
20
#define FONT_BUFFER_SIZE 24<<20
21
namespace stbtext:
22
// TODO: fix the max size read to prevent overflows (or just abort on really large files)
23
- static unsigned char font_buffer[FONT_BUFFER_SIZE]
24
- static stbtt_fontinfo font;
+ extern unsigned char font_buffer[FONT_BUFFER_SIZE] = {}
+ extern stbtt_fontinfo font = {}
25
extern bool did_setup = false
26
extern bool GRAYSCALE = false
27
0 commit comments