diff --git a/src/headset/oculus.c b/src/headset/oculus.c index ba20ddcc..a69e7396 100644 --- a/src/headset/oculus.c +++ b/src/headset/oculus.c @@ -375,7 +375,7 @@ static void oculusRenderTo(void (*callback)(void*), void* userdata) { mat4_identity(transform); mat4_rotateQuat(transform, orient); transform[12] = -(transform[0] * pos[0] + transform[4] * pos[1] + transform[8] * pos[2]); - transform[13] = -(transform[1] * pos[0] + transform[5] * pos[1] + transform[9] * pos[2] + state.offset); + transform[13] = -(transform[1] * pos[0] + transform[5] * pos[1] + transform[9] * pos[2]); transform[14] = -(transform[2] * pos[0] + transform[6] * pos[1] + transform[10] * pos[2]); ovrMatrix4f projection = ovrMatrix4f_Projection(desc.DefaultEyeFov[eye], state.clipNear, state.clipFar, ovrProjection_ClipRangeOpenGL);