Update font.cpp

This commit is contained in:
pk-2000 2020-05-10 20:38:17 +03:00 committed by GitHub
parent ff93a1a760
commit 2d98ec8ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,13 +33,13 @@
#include <SDL_ttf.h>
#define BUNDLED_FONT liberation
#define BUNDLED_FONT monapo
#define BUNDLED_FONT_DECL(FONT) \
extern unsigned char assets_##FONT##_ttf[]; \
extern unsigned int assets_##FONT##_ttf_len;
BUNDLED_FONT_DECL(liberation)
BUNDLED_FONT_DECL(monapo)
#define BUNDLED_FONT_D(f) assets_## f ##_ttf
#define BUNDLED_FONT_L(f) assets_## f ##_ttf_len