diff --git a/specter/include/specter/Icon.hpp b/specter/include/specter/Icon.hpp index f6c789420..6b7511e44 100644 --- a/specter/include/specter/Icon.hpp +++ b/specter/include/specter/Icon.hpp @@ -36,7 +36,7 @@ class IconAtlas { public: IconAtlas() = default; - operator bool() const { return m_tex; } + operator bool() const { return m_tex.operator bool(); } void initializeAtlas(const boo::ObjToken& tex) { m_tex = tex; for (size_t c = 0; c < COLS; ++c)