diff --git a/specter/include/specter/Icon.hpp b/specter/include/specter/Icon.hpp index a103ca453..78187a220 100644 --- a/specter/include/specter/Icon.hpp +++ b/specter/include/specter/Icon.hpp @@ -42,7 +42,7 @@ class IconAtlas } public: IconAtlas() = default; - operator bool() const {return m_tex != nullptr;} + operator bool() const {return m_tex;} void initializeAtlas(const boo::ObjToken& tex) { m_tex = tex;