mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Fix openvr typos
This commit is contained in:
parent
36908b0434
commit
b2faecc82d
|
|
@ -697,7 +697,7 @@ void OpenVRProvider::onEyeRendered(U32 index)
|
|||
vr::VRCompositor()->Submit((vr::EVREye)(vr::Eye_Left + index), &eyeTexture);*/
|
||||
}
|
||||
|
||||
AssertFatal(err != vr::VRCompositorError_None, "VR compositor error!");
|
||||
AssertFatal(err == vr::VRCompositorError_None, "VR compositor error!");
|
||||
}
|
||||
|
||||
bool OpenVRProvider::_handleDeviceEvent(GFXDevice::GFXDeviceEventType evt)
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
void advance()
|
||||
{
|
||||
mIndex = (mIndex + 1) & TextureCount;
|
||||
mIndex = (mIndex + 1) % TextureCount;
|
||||
}
|
||||
|
||||
GFXTexHandle& getTextureHandle()
|
||||
|
|
|
|||
Loading…
Reference in a new issue