load fonts at runtime
This commit is contained in:
parent
30510ab69a
commit
93f93a594e
5 changed files with 87 additions and 36 deletions
|
|
@ -4,7 +4,7 @@
|
|||
#include <SDL2/SDL.h>
|
||||
|
||||
|
||||
#define FONT_PATH "./monospace.ttf"
|
||||
#define DEFAULT_FONT "./monospace.ttf"
|
||||
#define FONT_VERSHADER "./font_vertshader.glsl"
|
||||
#define FONT_FRAGSHADER "./font_fragshader.glsl"
|
||||
#define BOX_VERSHADER "./box_vertshader.glsl"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue