diff options
Diffstat (limited to 'examples/text/text_font_loading.c')
| -rw-r--r-- | examples/text/text_font_loading.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/text/text_font_loading.c b/examples/text/text_font_loading.c index 7eaaed8f..e0515167 100644 --- a/examples/text/text_font_loading.c +++ b/examples/text/text_font_loading.c @@ -66,12 +66,12 @@ int main(void) if (!useTtf) { - DrawTextEx(fontBm, msg, (Vector2){ 20.0f, 100.0f }, fontBm.baseSize, 2, MAROON); + DrawTextEx(fontBm, msg, (Vector2){ 20.0f, 100.0f }, (float)fontBm.baseSize, 2, MAROON); DrawText("Using BMFont (Angelcode) imported", 20, GetScreenHeight() - 30, 20, GRAY); } else { - DrawTextEx(fontTtf, msg, (Vector2){ 20.0f, 100.0f }, fontTtf.baseSize, 2, LIME); + DrawTextEx(fontTtf, msg, (Vector2){ 20.0f, 100.0f }, (float)fontTtf.baseSize, 2, LIME); DrawText("Using TTF font generated", 20, GetScreenHeight() - 30, 20, GRAY); } |
