Merge pull request #1 from cylgom/master

fixed bool operator for IconAtlas
This commit is contained in:
Phillip Stephens 2017-11-07 23:09:28 -08:00 committed by GitHub
commit 47e6a06478
1 changed files with 1 additions and 1 deletions

View File

@ -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<boo::ITextureS>& tex)
{
m_tex = tex;