Minor type tweak

This commit is contained in:
raysan5 2021-11-01 19:14:55 +01:00
parent be361ed3dc
commit bba035c20c

View file

@ -552,7 +552,7 @@ GlyphInfo *LoadFontData(const unsigned char *fileData, int dataSize, int fontSiz
// NOTE: Loaded information should be enough to generate font image atlas, using any packaging method // NOTE: Loaded information should be enough to generate font image atlas, using any packaging method
if (fileData != NULL) if (fileData != NULL)
{ {
int genFontChars = false; bool genFontChars = false;
stbtt_fontinfo fontInfo = { 0 }; stbtt_fontinfo fontInfo = { 0 };
if (stbtt_InitFont(&fontInfo, (unsigned char *)fileData, 0)) // Initialize font for data reading if (stbtt_InitFont(&fontInfo, (unsigned char *)fileData, 0)) // Initialize font for data reading