Skip to content

Commit 449f50e

Browse files
Fixed issue in Tutorial00_Linux (fixed #44)
1 parent f812e35 commit 449f50e

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Tutorials/Tutorial00_HelloLinux/src/Tutorial00_HelloLinux.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,10 @@ class Tutorial00App
293293

294294
// Set pipeline state in the immediate context
295295
m_pImmediateContext->SetPipelineState(m_pPSO);
296-
// We need to commit shader resource. Even though in this example
297-
// we don't really have any resources, this call also sets the shaders
298-
m_pImmediateContext->CommitShaderResources(nullptr, RESOURCE_STATE_TRANSITION_MODE_TRANSITION);
296+
297+
// Typically we should now call CommitShaderResources(), however shaders in this example don't
298+
// use any resources.
299+
299300
DrawAttribs drawAttrs;
300301
drawAttrs.NumVertices = 3; // We will render 3 vertices
301302
m_pImmediateContext->Draw(drawAttrs);

0 commit comments

Comments
 (0)