summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/src/TestGeometryShader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/TestApp/src/TestGeometryShader.cpp')
-rw-r--r--Tests/TestApp/src/TestGeometryShader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestGeometryShader.cpp b/Tests/TestApp/src/TestGeometryShader.cpp
index 0383e27..749d2ec 100644
--- a/Tests/TestApp/src/TestGeometryShader.cpp
+++ b/Tests/TestApp/src/TestGeometryShader.cpp
@@ -88,7 +88,7 @@ void TestGeometryShader::Draw()
return;
m_pDeviceContext->SetPipelineState(m_pPSO);
- m_pDeviceContext->CommitShaderResources(nullptr, COMMIT_SHADER_RESOURCES_FLAG_TRANSITION_RESOURCES);
+ m_pDeviceContext->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
Diligent::DrawAttribs DrawAttrs;
DrawAttrs.NumVertices = 2; // Draw 2 triangles