mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-13 00:24:20 +00:00
IO: removed ImGuiBackendFlags_HasMouseHoveredViewport assert in AddMouseViewportEvent().
In theory shouldn't accept them, but a backend overriding another would be prevented from doing so because of this (test engine).
This commit is contained in:
parent
c11128891e
commit
ac38c8e6fe
1 changed files with 1 additions and 1 deletions
|
|
@ -1573,7 +1573,7 @@ void ImGuiIO::AddMouseViewportEvent(ImGuiID viewport_id)
|
|||
{
|
||||
IM_ASSERT(Ctx != NULL);
|
||||
ImGuiContext& g = *Ctx;
|
||||
IM_ASSERT(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseHoveredViewport);
|
||||
//IM_ASSERT(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseHoveredViewport);
|
||||
if (!AppAcceptingEvents)
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue