CommonHostInterface: Fix lag when OSD message display disabled
This commit is contained in:
parent
10a46a7fd8
commit
3ca1d5b275
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue