mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-12 00:14:20 +00:00
Missing assert + comments
This commit is contained in:
parent
ab8561e6fc
commit
150ad95bd6
2 changed files with 5 additions and 2 deletions
|
|
@ -694,6 +694,7 @@ public:
|
|||
|
||||
static ImGuiWindow* GetCurrentWindow()
|
||||
{
|
||||
IM_ASSERT(GImGui.CurrentWindow != NULL); // ImGui::NewFrame() hasn't been called yet?
|
||||
GImGui.CurrentWindow->Accessed = true;
|
||||
return GImGui.CurrentWindow;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue