diff options
| author | Ray <[email protected]> | 2024-06-25 21:40:41 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2024-06-25 21:40:41 +0200 |
| commit | 0979eafa84c7c5b330a99067411afbc9d5cd13b5 (patch) | |
| tree | ce3fb263a918176ee51fd537ec2b00b9261d1745 /src | |
| parent | 4239e66c55cc36ac5fe4c764d786638b4cece312 (diff) | |
| download | raylib-0979eafa84c7c5b330a99067411afbc9d5cd13b5.tar.gz raylib-0979eafa84c7c5b330a99067411afbc9d5cd13b5.zip | |
WARNING: REMOVED: Default font fallback
Diffstat (limited to 'src')
| -rw-r--r-- | src/rtext.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rtext.c b/src/rtext.c index 55061a1b..8daf3a7b 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -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) |
