mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 13:32:59 +01:00
Removed HMD API and OculusVR support.
This commit is contained in:
@@ -1959,7 +1959,7 @@ VK_IMPORT_DEVICE
|
||||
return false;
|
||||
}
|
||||
|
||||
void flip(HMD& /*_hmd*/) override
|
||||
void flip() override
|
||||
{
|
||||
if (VK_NULL_HANDLE != m_swapchain)
|
||||
{
|
||||
@@ -2192,7 +2192,7 @@ VK_IMPORT_DEVICE
|
||||
m_pipelineStateCache.invalidate();
|
||||
}
|
||||
|
||||
uint32_t flags = _resolution.reset & ~(BGFX_RESET_HMD_RECENTER | BGFX_RESET_MAXANISOTROPY | BGFX_RESET_DEPTH_CLAMP);
|
||||
uint32_t flags = _resolution.reset & ~(BGFX_RESET_MAXANISOTROPY | BGFX_RESET_DEPTH_CLAMP);
|
||||
|
||||
if (m_resolution.width != _resolution.width
|
||||
|| m_resolution.height != _resolution.height
|
||||
@@ -3663,8 +3663,6 @@ VK_DESTROY
|
||||
currentState.m_stateFlags = BGFX_STATE_NONE;
|
||||
currentState.m_stencil = packStencil(BGFX_STENCIL_NONE, BGFX_STENCIL_NONE);
|
||||
|
||||
_render->m_hmdInitialized = false;
|
||||
|
||||
const bool hmdEnabled = false;
|
||||
ViewState viewState(_render, hmdEnabled);
|
||||
viewState.reset(_render, hmdEnabled);
|
||||
|
||||
Reference in New Issue
Block a user