Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Laszlo Agocs
qtrhi
Commits
435cfa4a
Commit
435cfa4a
authored
Jan 04, 2019
by
Laszlo Agocs
Browse files
imgui example: it's a triangle not a cube
parent
1b3f28fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
examples/rhi/imguidemo/imguidemo.cpp
View file @
435cfa4a
...
...
@@ -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
(
3
6
);
cb
->
draw
(
3
);
d
.
imgui
.
queueFrame
(
cb
);
cb
->
endPass
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment