mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 21:42:59 +01:00
Remove commitEye() and fix extra frame of latency in OpenGL as well
This commit is contained in:
committed by
Branimir Karadžić
parent
0b73864140
commit
0624a5350e
@@ -5658,8 +5658,6 @@ namespace bgfx { namespace gl
|
||||
if (m_ovr.isEnabled() )
|
||||
{
|
||||
m_ovr.getViewport(eye, &viewState.m_rect);
|
||||
// commit previous eye to HMD and start rendering new frame
|
||||
m_ovr.commitEye(eye);
|
||||
m_ovr.renderEyeStart(eye);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user