We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f812e35 commit 449f50eCopy full SHA for 449f50e
1 file changed
Tutorials/Tutorial00_HelloLinux/src/Tutorial00_HelloLinux.cpp
@@ -293,9 +293,10 @@ class Tutorial00App
293
294
// Set pipeline state in the immediate context
295
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);
+
+ // Typically we should now call CommitShaderResources(), however shaders in this example don't
+ // use any resources.
299
300
DrawAttribs drawAttrs;
301
drawAttrs.NumVertices = 3; // We will render 3 vertices
302
m_pImmediateContext->Draw(drawAttrs);
0 commit comments