mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Add ObjectHandle::isNotNull()
This commit is contained in:
parent
e34ebdc543
commit
e8145768df
|
@ -12,6 +12,9 @@ namespace graphics {
|
||||||
bool operator==(const ObjectHandle & _other) const { return m_name == _other.m_name; }
|
bool operator==(const ObjectHandle & _other) const { return m_name == _other.m_name; }
|
||||||
bool operator!=(const ObjectHandle & _other) const { return m_name != _other.m_name; }
|
bool operator!=(const ObjectHandle & _other) const { return m_name != _other.m_name; }
|
||||||
|
|
||||||
|
|
||||||
|
bool isNotNull() const { return m_name != 0; }
|
||||||
|
|
||||||
void reset() { m_name = 0; }
|
void reset() { m_name = 0; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user