File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1014,7 +1014,7 @@ namespace framebuffer:
1014
1014
return um
1015
1015
1016
1016
1017
- static shared_ptr< FB> _FB
1017
+ extern shared_ptr< FB> _FB = nullptr
1018
1018
1019
1019
// function: framebuffer::get
1020
1020
// this function returns the app' s framebuffer
Original file line number Diff line number Diff line change 20
20
#define FONT_BUFFER_SIZE 24<< 20
21
21
namespace stbtext:
22
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 ;
23
+ extern unsigned char font_buffer[FONT_BUFFER_SIZE] = {}
24
+ extern stbtt_fontinfo font = {}
25
25
extern bool did_setup = false
26
26
extern bool GRAYSCALE = false
27
27
You can’t perform that action at this time.
0 commit comments