Some security checks on font loading

This commit is contained in:
Ray
2018-10-18 17:48:01 +02:00
parent 8c7bd96b19
commit 16193a35b0
2 changed files with 7 additions and 7 deletions

View File

@ -52,12 +52,9 @@ int main()
bool dropDown000EditMode = false;
bool dropDown001EditMode = false;
//TODO: Substituir DrawText por DrawTextEx y MeasureText por MeasureTextEx
//----------------------------------------------------------------------------------
Font font = LoadFontEx("fonts/PixelOperator8.ttf", 8, 0, 0);
Font font = LoadFontEx("fonts/pixelpoiiz10.ttf", 10, 0, 0);
GuiFont(font);
SetTargetFPS(60);