Fix openvr typos

This commit is contained in:
James Urquhart 2016-05-01 00:08:29 +01:00
parent 36908b0434
commit b2faecc82d
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -49,7 +49,7 @@ public:
void advance()
{
mIndex = (mIndex + 1) & TextureCount;
mIndex = (mIndex + 1) % TextureCount;
}
GFXTexHandle& getTextureHandle()