text: Give default font a default name
This is mostly so that the texture gets a name other than "_0"
This commit is contained in:
parent
b4b18724bd
commit
3d3c2e7b7c
|
|
@ -489,4 +489,8 @@ load_default_font() {
|
|||
|
||||
#endif // HAVE_FREETYPE
|
||||
#endif // COMPILE_IN_DEFAULT_FONT
|
||||
|
||||
if (_default_font != nullptr && !_default_font->has_name()) {
|
||||
_default_font->set_name("default_font");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue