mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 07:48:15 +00:00
Minor type tweak
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user