mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-31 03:20:05 +00:00
Context: NewFrame() asserts (#1565)
This commit is contained in:
parent
dd89c9ea59
commit
2026e792cd
1 changed files with 1 additions and 0 deletions
|
|
@ -2300,6 +2300,7 @@ ImDrawListSharedData* ImGui::GetDrawListSharedData()
|
|||
|
||||
void ImGui::NewFrame()
|
||||
{
|
||||
IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() or ImGui::SetCurrentContext()?");
|
||||
ImGuiContext& g = *GImGui;
|
||||
|
||||
// Check user data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue