-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
I pasted the sample code on the readme.
I got this
imgui/ImNodesEz.cpp:125: bool ImNodes::Ez::BeginNode(void*, const char*, ImVec2*, bool*): Assertion `GContext != nullptr' failed.
Aborted (core dumped)
something something context. OK.
You have another sample code. Looked through it. Ah!
Pasted this in:
static ImNodes::Ez::Context* context = ImNodes::Ez::CreateContext();
Only to be met with a new assertion fail!
imgui/imgui_draw.cpp:1792: void ImDrawListSplitter::SetCurrentChannel(ImDrawList*, int): Assertion `idx >= 0 && idx < _Count' failed.
Perhaps the sample code was written for a previous version of the library which is now outdated.
In any case, having something to run and play with incrementally is immensely helpful.
Metadata
Metadata
Assignees
Labels
No labels