summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestTessellation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestApp/src/TestTessellation.cpp')
-rw-r--r--Tests/TestApp/src/TestTessellation.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestTessellation.cpp b/Tests/TestApp/src/TestTessellation.cpp
index 7150f05..502a239 100644
--- a/Tests/TestApp/src/TestTessellation.cpp
+++ b/Tests/TestApp/src/TestTessellation.cpp
@@ -81,8 +81,9 @@ void TestTessellation::Init( IRenderDevice *pDevice, IDeviceContext *pDeviceCont
PSODesc.GraphicsPipeline.RasterizerDesc.FillMode = FILL_MODE_WIREFRAME;
PSODesc.GraphicsPipeline.BlendDesc.IndependentBlendEnable = False;
PSODesc.GraphicsPipeline.BlendDesc.RenderTargets[0].BlendEnable = False;
- PSODesc.GraphicsPipeline.RTVFormats[0] = pSwapChain->GetDesc().ColorBufferFormat;
PSODesc.GraphicsPipeline.NumRenderTargets = 1;
+ PSODesc.GraphicsPipeline.RTVFormats[0] = pSwapChain->GetDesc().ColorBufferFormat;
+ PSODesc.GraphicsPipeline.DSVFormat = pSwapChain->GetDesc().DepthBufferFormat;
PSODesc.GraphicsPipeline.pPS = pPS;
PSODesc.GraphicsPipeline.pVS = pVS;
PSODesc.GraphicsPipeline.pHS = pHS;