|
|
@ -362,11 +362,7 @@ Font LoadFont(const char *fileName) |
|
|
|
UnloadImage(image); |
|
|
|
} |
|
|
|
|
|
|
|
if (font.texture.id == 0) |
|
|
|
{ |
|
|
|
TRACELOG(LOG_WARNING, "FONT: [%s] Failed to load font texture -> Using default font", fileName); |
|
|
|
font = GetFontDefault(); |
|
|
|
} |
|
|
|
if (font.texture.id == 0) TRACELOG(LOG_WARNING, "FONT: [%s] Failed to load font texture -> Using default font", fileName); |
|
|
|
else |
|
|
|
{ |
|
|
|
SetTextureFilter(font.texture, TEXTURE_FILTER_POINT); // By default, we set point filter (the best performance) |
|
|
|