mirror of https://github.com/AxioDL/metaforce.git
fixed bool operator for IconAtlas
This commit is contained in:
parent
5dbdd62cae
commit
37231d69b0
|
@ -42,7 +42,7 @@ class IconAtlas
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
IconAtlas() = default;
|
IconAtlas() = default;
|
||||||
operator bool() const {return m_tex != nullptr;}
|
operator bool() const {return m_tex;}
|
||||||
void initializeAtlas(const boo::ObjToken<boo::ITextureS>& tex)
|
void initializeAtlas(const boo::ObjToken<boo::ITextureS>& tex)
|
||||||
{
|
{
|
||||||
m_tex = tex;
|
m_tex = tex;
|
||||||
|
|
Loading…
Reference in New Issue