diff options
author | LDA <lda@ldasuku.net> | 2023-06-23 01:54:39 -0700 |
---|---|---|
committer | LDA <lda@ldasuku.net> | 2023-06-23 01:57:16 -0700 |
commit | fa5042902cf461abe541c8be472599782102cf1c (patch) | |
tree | c1d8fa36122d1ce19f49a31b04d03a12eac5f636 /source/rendering/StarFontTextureGroup.hpp | |
parent | 176c79bada5f175202a1f67828a9d4bfc208895c (diff) |
👋 only print opengl errors if errors actually occurred. also fixed building on gcc
Diffstat (limited to 'source/rendering/StarFontTextureGroup.hpp')
-rw-r--r-- | source/rendering/StarFontTextureGroup.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rendering/StarFontTextureGroup.hpp b/source/rendering/StarFontTextureGroup.hpp index e75fd56..15d2895 100644 --- a/source/rendering/StarFontTextureGroup.hpp +++ b/source/rendering/StarFontTextureGroup.hpp @@ -35,7 +35,7 @@ public: // Switches the current font void switchFont(String const& font); String const& activeFont(); - void addFont(FontPtr const& font, String const& name, bool default = false); + void addFont(FontPtr const& font, String const& name, bool isDefault = false); void clearFonts(); private: StringMap<FontPtr> m_fonts; |