As discussed in slack, Oculus should be letting lovrCanvasCreate decide whether to double
@@ -311,7 +311,7 @@ static void oculus_renderTo(void (*callback)(void*), void* userdata) {
lovrAssert(OVR_SUCCESS(ovr_CreateMirrorTextureWithOptionsGL(state.session, &mdesc, &state.mirror)), "Unable to create mirror texture");
CanvasFlags flags = { .depth = { .enabled = true, .format = FORMAT_D24S8 }, .stereo = true };
- state.canvas = lovrCanvasCreate(2 * state.size.w, state.size.h, flags);
+ state.canvas = lovrCanvasCreate(state.size.w, state.size.h, flags);
lovrPlatformSetSwapInterval(0);
}
