You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to port over to C# ocornut's 'ImDrawList' test bench (see here: ocornut/imgui#3606).
I'm retrieving the window draw list with ImGui.GetWindowDrawList() and then using primitives on the resulting draw list. However, I can't seem to get results displayed.
Here is the code I'm using based on ImGui.NET.SampleProgram: I replaced SubmitUI but the rest of the code is the same:
@zaafar Thank you... By examining your implementation and comparing it with mine, I saw that all my & should be replaced by | then I saw your second suggestion: that is exactly what I ended up with!
I feel ashamed for having got mixed up between AND and OR... no wonder my code didn't work, I was drawing everything with a transparent color :(
Thanks again!
I'm trying to port over to C# ocornut's 'ImDrawList' test bench (see here: ocornut/imgui#3606).
I'm retrieving the window draw list with
ImGui.GetWindowDrawList()
and then using primitives on the resulting draw list. However, I can't seem to get results displayed.Here is the code I'm using based on
ImGui.NET.SampleProgram
: I replacedSubmitUI
but the rest of the code is the same:All that I obtain is an empty placeholder:
Any idea why this does not work?
Thanks!
The text was updated successfully, but these errors were encountered: