Addressed issue #66
NOTE: GetDirectoryPath() has also been updated in raylib, latest master branch version must be used!
This commit is contained in:
parent
aa28f6c759
commit
4fb2b73a15
@ -804,6 +804,11 @@ void GuiSetFont(Font font)
|
||||
{
|
||||
if (font.texture.id > 0)
|
||||
{
|
||||
// NOTE: If we try to setup a font but default style has not been
|
||||
// lazily loaded before, it will be overwritten, so we need to force
|
||||
// default style loading first
|
||||
if (!guiStyleLoaded) GuiLoadStyleDefault();
|
||||
|
||||
guiFont = font;
|
||||
GuiSetStyle(DEFAULT, TEXT_SIZE, font.baseSize);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user