mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-01 17:44:33 +00:00
Amend be2cfc2
This commit is contained in:
@@ -1107,7 +1107,7 @@ static void ImGui_ImplGlfw_UpdateMonitors()
|
||||
// Happens on macOS sleeping (#5683) and seemingly occasionally on Windows (#9195)
|
||||
if (!updated_monitors)
|
||||
platform_io.Monitors.resize(0);
|
||||
updated_monitors = false;
|
||||
updated_monitors = true;
|
||||
platform_io.Monitors.push_back(monitor);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user