Fix some warnings in examples.
This commit is contained in:
parent
8e1e1ef970
commit
d0b693c931
1 changed files with 105 additions and 104 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue