mirror of https://github.com/AxioDL/boo.git
GraphicsToken bool operator
This commit is contained in:
parent
c96f961c4d
commit
45fb66540f
|
@ -292,6 +292,7 @@ public:
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
~GraphicsDataToken() {doDestroy();}
|
~GraphicsDataToken() {doDestroy();}
|
||||||
|
operator bool() const {return m_factory && m_data;}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue