From 50a7f7a8609757013e8fe151e362f10863fa5e3b Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Sun, 18 Aug 2019 12:42:19 -0700 Subject: [PATCH] Fix compiling with update boo --- specter/include/specter/Icon.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)