[jni/vr] fix debug compile issues (project will now compile in 'debug')

This commit is contained in:
amwatson 2024-01-21 23:54:20 -06:00
parent 7e52f64815
commit 7d3831dd12
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ License : Licensed under GPLv3 or any later version.
#include "OpenXR.h"
#include "utils/Common.h"
#include "utils/LogUtils.h"
#include <openxr/openxr_platform.h>

View file

@ -454,7 +454,7 @@ private:
: InputStateFrame::LEFT_CONTROLLER;
// assert that we do not choose an inactive controller
// unless neither controller is available.
assert(mInputStateFrame.mIsHandActive[preferredController] ||
assert(mInputStateFrame.mIsHandActive[mInputStateFrame.mPreferredHand] ||
!mInputStateFrame.mIsHandActive[nonPreferredController]);
{