diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-07 22:46:30 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-07 22:46:30 +0000 |
| commit | c926cb84c8af0f0f68bd851f6dfc4ac3c906a13b (patch) | |
| tree | 16d3f29ea717c41d767618b040a7b9000efb4b66 /Tests/TestApp/src/TestDrawCommands.cpp | |
| parent | Fixed build error: second attempt (diff) | |
| download | DiligentEngine-c926cb84c8af0f0f68bd851f6dfc4ac3c906a13b.tar.gz DiligentEngine-c926cb84c8af0f0f68bd851f6dfc4ac3c906a13b.zip | |
Few minor updates + updated submodules
Diffstat (limited to 'Tests/TestApp/src/TestDrawCommands.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestDrawCommands.cpp | 2 |
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); |
