summaryrefslogtreecommitdiffstats
path: root/tools/platform/gui.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-04-05 13:31:05 -0700
committerGitHub <noreply@github.com>2021-04-05 13:31:05 -0700
commit086ecf41fa21138899960bb9805bc8ced91690f0 (patch)
treec98af81ffc28371a9334e71987a85f9e88bce678 /tools/platform/gui.cpp
parentdd662f5cda97e7a6720ef526509a772a06112d4a (diff)
Transient root shader object. (#1782)
Diffstat (limited to 'tools/platform/gui.cpp')
-rw-r--r--tools/platform/gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp
index f78a52ce4..63cf3d51b 100644
--- a/tools/platform/gui.cpp
+++ b/tools/platform/gui.cpp
@@ -273,7 +273,7 @@ void GUI::endFrame(ITransientResourceHeap* transientHeap, IFramebuffer* framebuf
auto renderEncoder = cmdBuf->encodeRenderCommands(renderPass, framebuffer);
renderEncoder->setViewportAndScissor(viewport);
- renderEncoder->setPipelineState(pipelineState);
+ renderEncoder->bindPipeline(pipelineState);
renderEncoder->setVertexBuffer(0, vertexBuffer, sizeof(ImDrawVert));
renderEncoder->setIndexBuffer(