Removed HMD API and OculusVR support.

This commit is contained in:
Branimir Karadžić
2018-07-19 20:22:21 -07:00
parent a90f742662
commit db0ec1f5db
43 changed files with 40 additions and 1305 deletions

View File

@@ -1404,7 +1404,7 @@ namespace bgfx { namespace d3d12
return m_lost;
}
void flip(HMD& /*_hmd*/) override
void flip() override
{
if (NULL != m_swapChain
&& !m_lost)
@@ -2101,7 +2101,6 @@ namespace bgfx { namespace d3d12
}
const uint32_t maskFlags = ~(0
| BGFX_RESET_HMD_RECENTER
| BGFX_RESET_MAXANISOTROPY
| BGFX_RESET_DEPTH_CLAMP
| BGFX_RESET_SUSPEND
@@ -5563,8 +5562,6 @@ namespace bgfx { namespace d3d12
RenderBind currentBind;
currentBind.clear();
_render->m_hmdInitialized = false;
const bool hmdEnabled = false;
static ViewState viewState;
viewState.reset(_render, hmdEnabled);