Minor type tweak
This commit is contained in:
parent
be361ed3dc
commit
bba035c20c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue