summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestDrawCommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestApp/src/TestDrawCommands.cpp')
-rw-r--r--Tests/TestApp/src/TestDrawCommands.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestDrawCommands.cpp b/Tests/TestApp/src/TestDrawCommands.cpp
index 70365b0..f720730 100644
--- a/Tests/TestApp/src/TestDrawCommands.cpp
+++ b/Tests/TestApp/src/TestDrawCommands.cpp
@@ -386,7 +386,7 @@ void TestDrawCommands::Draw()
m_pDeviceContext->SetPipelineState(m_pPSOInst);
m_pDeviceContext->TransitionShaderResources(m_pPSOInst, nullptr);
- m_pDeviceContext->CommitShaderResources(nullptr, 0);
+ m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_VERIFY_STATES);
Offsets[0] = 3*16*3 * 6*sizeof(float);
m_pDeviceContext->SetVertexBuffers(0, 2, pBuffs, Offsets, SET_VERTEX_BUFFERS_FLAG_RESET);