summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b70741a)
Otherwise the swap_buffers from rendering the mirror view will interfere
with submitting VR frames. The OpenVR library internally syncs to the
HMD's vertical refresh.
Frustum right_frustum = Private::get_projection(vr::Eye_Right);
configure_eye_frustums(left_frustum, right_frustum);
Frustum right_frustum = Private::get_projection(vr::Eye_Right);
configure_eye_frustums(left_frustum, right_frustum);
+ view.get_context().set_swap_interval(0);