diff options
Diffstat (limited to 'Tests/TestApp/src/TestTessellation.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTessellation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/TestApp/src/TestTessellation.cpp b/Tests/TestApp/src/TestTessellation.cpp index 66da395..e3ad13d 100644 --- a/Tests/TestApp/src/TestTessellation.cpp +++ b/Tests/TestApp/src/TestTessellation.cpp @@ -134,9 +134,8 @@ void TestTessellation::Draw() m_pDeviceContext->SetPipelineState(m_pQuadPSO); m_pDeviceContext->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION); - Diligent::DrawAttribs DrawAttrs; - DrawAttrs.Flags = DRAW_FLAG_VERIFY_STATES; - DrawAttrs.NumVertices = 2; // Draw 2 quad patches + // Draw 2 quad patches + Diligent::DrawAttribs DrawAttrs(2, DRAW_FLAG_VERIFY_STATES); m_pDeviceContext->Draw(DrawAttrs); m_pDeviceContext->SetPipelineState(m_pTriPSO); |
