mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-14 14:05:53 +00:00
Merge pull request #1 from cylgom/master
fixed bool operator for IconAtlas
This commit is contained in:
commit
47e6a06478
@ -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…
x
Reference in New Issue
Block a user