diff options
| author | Peter0x44 <[email protected]> | 2024-06-25 20:38:55 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-25 21:38:55 +0200 |
| commit | dfabbd8ba8342169247685c294ae09f882f48e2c (patch) | |
| tree | 7c3b89ba559971c67b4e32a92b11ced2d8da40a5 /FAQ.md | |
| parent | 3e441ae98b262c1f5a746d49491918c862137fef (diff) | |
| download | raylib-dfabbd8ba8342169247685c294ae09f882f48e2c.tar.gz raylib-dfabbd8ba8342169247685c294ae09f882f48e2c.zip | |
[rtext] Don't return default font if LoadFontEx fails (#4077)
It is currently impossible to check a font loaded successfully with
IsFontReady because LoadFontEx will always return a valid font.
DrawTextEx has this check:
if (font.texture.id == 0) font = GetFontDefault(); // Security check in case of not valid font
So anyone relying on the default font as a fallback for fonts failing to
load should still be covered.
Diffstat (limited to 'FAQ.md')
0 files changed, 0 insertions, 0 deletions
