CommonHostInterface: Fix lag when OSD message display disabled

pull/762/head
Connor McLaughlin 5 years ago
parent 10a46a7fd8
commit 3ca1d5b275

@ -836,7 +836,10 @@ void CommonHostInterface::DrawOSDMessages()
}
if (!g_settings.display_show_osd_messages)
{
++iter;
continue;
}
const float opacity = std::min(time_remaining, 1.0f);
ImGui::SetNextWindowPos(ImVec2(position_x, position_y));

Loading…
Cancel
Save