Help: merging two ImDrawLists #4728
Locked
actondev
announced in
Old/Archived discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Not an issue, but not also a build/link/run issue: I hope I'm not abusing this place.
I asked this once in #3515 (comment) , but asking here again.
What are the steps needed to merge 2 ImDrawLists?
What I wanted to achieve is
cacheDrawList
to the original draw listI reached to the following
but sometimes it crashes, and when not, I don't see what was expected to be drawn. Also, later calls (using the normal/original draw list) do not get shown in the screen.
From what I saw in
ImDrawListSplitter::Merge
, I guess it has something to do with thecmd->IdxOffset
.But I really don't know much (or anything) about opengl/generally graphics representation, so cannot really follow the logic there.
Beta Was this translation helpful? Give feedback.
All reactions