diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-05-29 04:52:52 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-05-29 04:52:52 +0000 |
| commit | 8bebe2b4629577e3c2b3fc80dcfb3d803c77a587 (patch) | |
| tree | 2e99b4c2170f9802cd840921f2cac496970e2ba8 /Tests/TestApp/src/TestTexturing.cpp | |
| parent | Updated multiple tests (diff) | |
| download | DiligentEngine-8bebe2b4629577e3c2b3fc80dcfb3d803c77a587.tar.gz DiligentEngine-8bebe2b4629577e3c2b3fc80dcfb3d803c77a587.zip | |
Moved Stride to vertex layout desc; updated tests
Diffstat (limited to 'Tests/TestApp/src/TestTexturing.cpp')
| -rw-r--r-- | Tests/TestApp/src/TestTexturing.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/TestApp/src/TestTexturing.cpp b/Tests/TestApp/src/TestTexturing.cpp index 9a9b356..29e96d9 100644 --- a/Tests/TestApp/src/TestTexturing.cpp +++ b/Tests/TestApp/src/TestTexturing.cpp @@ -283,9 +283,8 @@ void TestTexturing::Draw() m_pDeviceContext->CommitShaderResources(nullptr, 0); IBuffer *pBuffs[] = {m_pVertexBuff}; - Uint32 Strides[] = {sizeof(float)*5}; Uint32 Offsets[] = {0}; - m_pDeviceContext->SetVertexBuffers( 0, 1, pBuffs, Strides, Offsets, SET_VERTEX_BUFFERS_FLAG_RESET ); + m_pDeviceContext->SetVertexBuffers( 0, 1, pBuffs, Offsets, SET_VERTEX_BUFFERS_FLAG_RESET ); Diligent::DrawAttribs DrawAttrs; DrawAttrs.NumVertices = 4; // Draw quad |
