diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-12-03 01:42:16 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-12-03 01:42:16 +0000 |
| commit | 017f5133606d1e9c433048a8e50b9648fff2b81f (patch) | |
| tree | 2bda8756ff59b53852a587c6133df3d7347f9f29 /Tests/TestApp/src/TestTexturing.cpp | |
| parent | Fixed linux build error (diff) | |
| download | DiligentEngine-017f5133606d1e9c433048a8e50b9648fff2b81f.tar.gz DiligentEngine-017f5133606d1e9c433048a8e50b9648fff2b81f.zip | |
Replaced COMMIT_SHADER_RESOURCES_FLAGS with RESOURCE_STATE_TRANSITION_MODE
Diffstat (limited to 'Tests/TestApp/src/TestTexturing.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTexturing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TestApp/src/TestTexturing.cpp b/Tests/TestApp/src/TestTexturing.cpp index 4b3b811..dd020ee 100644 --- a/Tests/TestApp/src/TestTexturing.cpp +++ b/Tests/TestApp/src/TestTexturing.cpp @@ -286,7 +286,7 @@ void TestTexturing::Draw() { m_pDeviceContext->SetPipelineState(m_pPSO); m_pDeviceContext->TransitionShaderResources(m_pPSO, m_pSRB); - m_pDeviceContext->CommitShaderResources(m_pSRB, COMMIT_SHADER_RESOURCES_FLAG_VERIFY_STATES); + m_pDeviceContext->CommitShaderResources(m_pSRB, RESOURCE_STATE_TRANSITION_MODE_VERIFY); IBuffer *pBuffs[] = {m_pVertexBuff}; Uint32 Offsets[] = {0}; |
