Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rmkit/fb/fb.cpy
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ namespace framebuffer:
return um


static shared_ptr<FB> _FB
extern shared_ptr<FB> _FB = nullptr

// function: framebuffer::get
// this function returns the app's framebuffer
Expand Down
4 changes: 2 additions & 2 deletions src/rmkit/fb/stb_text.cpy
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
#define FONT_BUFFER_SIZE 24<<20
namespace stbtext:
// TODO: fix the max size read to prevent overflows (or just abort on really large files)
static unsigned char font_buffer[FONT_BUFFER_SIZE]
static stbtt_fontinfo font;
extern unsigned char font_buffer[FONT_BUFFER_SIZE] = {}
extern stbtt_fontinfo font = {}
extern bool did_setup = false
extern bool GRAYSCALE = false

Expand Down