mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Fix openvr typos
This commit is contained in:
parent
36908b0434
commit
b2faecc82d
2 changed files with 2 additions and 2 deletions
|
|
@ -697,7 +697,7 @@ void OpenVRProvider::onEyeRendered(U32 index)
|
||||||
vr::VRCompositor()->Submit((vr::EVREye)(vr::Eye_Left + index), &eyeTexture);*/
|
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)
|
bool OpenVRProvider::_handleDeviceEvent(GFXDevice::GFXDeviceEventType evt)
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@ public:
|
||||||
|
|
||||||
void advance()
|
void advance()
|
||||||
{
|
{
|
||||||
mIndex = (mIndex + 1) & TextureCount;
|
mIndex = (mIndex + 1) % TextureCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
GFXTexHandle& getTextureHandle()
|
GFXTexHandle& getTextureHandle()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue