Fixed warnings.

This commit is contained in:
omar
2018-03-07 14:46:53 +01:00
parent 9dcc07422e
commit d8719cf59b
2 changed files with 7 additions and 13 deletions

View File

@ -5194,12 +5194,6 @@ ImVec2 ImGui::GetItemRectSize()
return window->DC.LastItemRect.GetSize();
}
static ImRect GetViewportRect()
{
ImGuiContext& g = *GImGui;
return ImRect(0.0f, 0.0f, g.IO.DisplaySize.x, g.IO.DisplaySize.y);
}
// Not exposed publicly as BeginTooltip() because bool parameters are evil. Let's see if other needs arise first.
void ImGui::BeginTooltipEx(ImGuiWindowFlags extra_flags, bool override_previous_tooltip)
{