mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-10 05:57:41 +00:00
GraphicsToken bool operator
This commit is contained in:
@@ -292,6 +292,7 @@ public:
|
|||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
~GraphicsDataToken() {doDestroy();}
|
~GraphicsDataToken() {doDestroy();}
|
||||||
|
operator bool() const {return m_factory && m_data;}
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user