Fix compilation error in GHOST
ELEM macro isn't available in GHOST library.
This commit is contained in:
parent
84bbdfb8af
commit
9c34391e0c
|
@ -222,7 +222,7 @@ GHOST_XrSession::LifeExpectancy GHOST_XrSession::handleStateChangeEvent(
|
|||
m_oxr->session_state = lifecycle.state;
|
||||
|
||||
/* Runtime may send events for apparently destroyed session. Our handle should be NULL then. */
|
||||
assert(ELEM(m_oxr->session, XR_NULL_HANDLE, lifecycle.session));
|
||||
assert(m_oxr->session == XR_NULL_HANDLE || m_oxr->session == lifecycle.session);
|
||||
|
||||
switch (lifecycle.state) {
|
||||
case XR_SESSION_STATE_READY: {
|
||||
|
|
Loading…
Reference in New Issue