mirror of
https://github.com/AxioDL/boo.git
synced 2025-06-07 07:03:48 +00:00
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…
x
Reference in New Issue
Block a user