summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/src/renderer_d3d11.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/src/renderer_d3d11.h')
-rw-r--r--3rdparty/bgfx/src/renderer_d3d11.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/3rdparty/bgfx/src/renderer_d3d11.h b/3rdparty/bgfx/src/renderer_d3d11.h
index 5d8614a7301..796e99c39e8 100644
--- a/3rdparty/bgfx/src/renderer_d3d11.h
+++ b/3rdparty/bgfx/src/renderer_d3d11.h
@@ -32,7 +32,7 @@ BX_PRAGMA_DIAGNOSTIC_POP()
#include "renderer.h"
#include "renderer_d3d.h"
#include "shader_dxbc.h"
-#include "hmd_ovr.h"
+#include "hmd.h"
#include "hmd_openvr.h"
#include "debug_renderdoc.h"
@@ -60,29 +60,6 @@ BX_PRAGMA_DIAGNOSTIC_POP()
namespace bgfx { namespace d3d11
{
-#if BGFX_CONFIG_USE_OVR
- struct OVRBufferD3D11 : public OVRBufferI
- {
- virtual void create(const ovrSession& _session, int _eyeIdx, int _msaaSamples) BX_OVERRIDE;
- virtual void destroy(const ovrSession& _session) BX_OVERRIDE;
- virtual void render(const ovrSession& _session) BX_OVERRIDE;
- virtual void postRender(const ovrSession& _session) BX_OVERRIDE;
-
- ID3D11RenderTargetView* m_eyeRtv[4];
- ID3D11DepthStencilView* m_depthBuffer;
- ID3D11Texture2D* m_msaaTexture;
- ID3D11ShaderResourceView* m_msaaSv;
- ID3D11RenderTargetView* m_msaaRtv;
- };
-
- struct OVRMirrorD3D11 : public OVRMirrorI
- {
- virtual void create(const ovrSession& _session, int _width, int _height) BX_OVERRIDE;
- virtual void destroy(const ovrSession& session) BX_OVERRIDE;
- virtual void blit(const ovrSession& session) BX_OVERRIDE;
- };
-#endif // BGFX_CONFIG_USE_OVR
-
struct BufferD3D11
{
BufferD3D11()