Ver código fonte

WARNING: REMOVED: Default font fallback

pull/4109/head
Ray 7 meses atrás
pai
commit
0979eafa84
1 arquivos alterados com 1 adições e 5 exclusões
  1. +1
    -5
      src/rtext.c

+ 1
- 5
src/rtext.c Ver arquivo

@ -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)

Carregando…
Cancelar
Salvar