mirror of https://github.com/bkaradzic/bgfx
Fixed warning.
This commit is contained in:
parent
cb9263b689
commit
3004ef196d
|
@ -3752,7 +3752,7 @@ bool ImGui::BeginPopupModal(const char* name, bool* p_open, ImGuiWindowFlags ext
|
||||||
|
|
||||||
void ImGui::EndPopup()
|
void ImGui::EndPopup()
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = GetCurrentWindow();
|
ImGuiWindow* window = GetCurrentWindow(); (void)window;
|
||||||
IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls
|
IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls
|
||||||
IM_ASSERT(GImGui->CurrentPopupStack.Size > 0);
|
IM_ASSERT(GImGui->CurrentPopupStack.Size > 0);
|
||||||
End();
|
End();
|
||||||
|
|
Loading…
Reference in New Issue