diff options
Diffstat (limited to 'sdlfont.c')
-rw-r--r-- | sdlfont.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -168,7 +168,7 @@ int font_calculate_width(char *text, int cache) { int n, x; FT_Glyph glyph; - Uint16 c; + Uint32 c; FT_UInt glyph_index; /* Determine width of text */ @@ -226,7 +226,7 @@ SDL_Surface* font_render(char *text, int foreground) int pass; Uint32 *dst; Uint32 colour; - Uint16 c; + Uint32 c; FT_UInt glyph_index; FT_Bitmap* bitmap; |