diff options
Diffstat (limited to 'Graphics/GraphicsEngineD3D11')
| -rw-r--r-- | Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp | 6 | ||||
| -rwxr-xr-x | Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp index a9efa7ff..7f148d8c 100644 --- a/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp +++ b/Graphics/GraphicsEngineD3D11/include/DeviceContextD3D11Impl.hpp @@ -37,6 +37,8 @@ #include "TextureBaseD3D11.hpp" #include "PipelineStateD3D11Impl.hpp" #include "QueryD3D11Impl.hpp" +#include "FramebufferD3D11Impl.hpp" +#include "RenderPassD3D11Impl.hpp" #include "DisjointQueryPool.hpp" #ifdef DILIGENT_DEBUG @@ -46,8 +48,6 @@ namespace Diligent { -class RenderDeviceD3D11Impl; - struct DeviceContextD3D11ImplTraits { using BufferType = BufferD3D11Impl; @@ -55,6 +55,8 @@ struct DeviceContextD3D11ImplTraits using PipelineStateType = PipelineStateD3D11Impl; using DeviceType = RenderDeviceD3D11Impl; using QueryType = QueryD3D11Impl; + using FramebufferType = FramebufferD3D11Impl; + using RenderPassType = RenderPassD3D11Impl; }; /// Device context implementation in Direct3D11 backend. diff --git a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp index 48eb6498..339e6f35 100755 --- a/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp +++ b/Graphics/GraphicsEngineD3D11/src/DeviceContextD3D11Impl.cpp @@ -1619,16 +1619,19 @@ void DeviceContextD3D11Impl::SetRenderTargets(Uint32 Num void DeviceContextD3D11Impl::BeginRenderPass(const BeginRenderPassAttribs& Attribs)
{
+ TDeviceContextBase::BeginRenderPass(Attribs);
UNEXPECTED("Method not implemented");
}
void DeviceContextD3D11Impl::NextSubpass()
{
+ TDeviceContextBase::NextSubpass();
UNEXPECTED("Method not implemented");
}
void DeviceContextD3D11Impl::EndRenderPass()
{
+ TDeviceContextBase::EndRenderPass();
UNEXPECTED("Method not implemented");
}
|
