mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-16 22:57:02 +00:00
fixed bool operator for IconAtlas
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user