summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2021-11-01 19:14:55 +0100
committerraysan5 <[email protected]>2021-11-01 19:14:55 +0100
commitbba035c20c6190ee8c949424e07c0b26616d9b11 (patch)
tree2091b2daba3c716a164a2a5bd60673dd579fa89b /src
parentbe361ed3dc42236507ffe74e307b7cc75ec65b02 (diff)
downloadraylib-bba035c20c6190ee8c949424e07c0b26616d9b11.tar.gz
raylib-bba035c20c6190ee8c949424e07c0b26616d9b11.zip
Minor type tweak
Diffstat (limited to 'src')
-rw-r--r--src/rtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c
index 0cd26263..1e4ed617 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -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
if (fileData != NULL)
{
- int genFontChars = false;
+ bool genFontChars = false;
stbtt_fontinfo fontInfo = { 0 };
if (stbtt_InitFont(&fontInfo, (unsigned char *)fileData, 0)) // Initialize font for data reading