Commit 435cfa4a authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

imgui example: it's a triangle not a cube

parent 1b3f28fb
......@@ -158,7 +158,7 @@ void Window::customRender()
cb->setGraphicsPipeline(d.ps);
cb->setViewport(QRhiViewport(0, 0, outputSizeInPixels.width(), outputSizeInPixels.height()));
cb->setVertexInput(0, { { d.vbuf, 0 } });
cb->draw(36);
cb->draw(3);
d.imgui.queueFrame(cb);
cb->endPass();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment