瀏覽代碼

Merge pull request #5050 from katanya04/master

Update font load message
Ray 1 周之前
父節點
當前提交
0b7dda8ab1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/rtext.c

+ 1 - 1
src/rtext.c

@@ -391,7 +391,7 @@ Font LoadFont(const char *fileName)
         else
         else
         {
         {
             SetTextureFilter(font.texture, TEXTURE_FILTER_POINT);    // By default, we set point filter (the best performance)
             SetTextureFilter(font.texture, TEXTURE_FILTER_POINT);    // By default, we set point filter (the best performance)
-            TRACELOG(LOG_INFO, "FONT: Data loaded successfully (%i pixel size | %i glyphs)", FONT_TTF_DEFAULT_SIZE, FONT_TTF_DEFAULT_NUMCHARS);
+            TRACELOG(LOG_INFO, "FONT: Data loaded successfully (%i pixel size | %i glyphs)", font.baseSize, font.glyphCount);
         }
         }
     }
     }