mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
Qt: Move ImGui NewFrame/EndFrame to correct location
This commit is contained in:
parent
515b85fa36
commit
d356b95819
|
@ -524,7 +524,6 @@ bool QtHostInterface::AcquireHostDisplay()
|
|||
|
||||
connectDisplaySignals(display_widget);
|
||||
m_is_exclusive_fullscreen = m_display->IsFullscreen();
|
||||
ImGui::NewFrame();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -1474,10 +1473,10 @@ void QtHostInterface::threadEntryPoint()
|
|||
|
||||
void QtHostInterface::renderDisplay()
|
||||
{
|
||||
DrawImGuiWindows();
|
||||
|
||||
m_display->Render();
|
||||
ImGui::NewFrame();
|
||||
DrawImGuiWindows();
|
||||
m_display->Render();
|
||||
ImGui::EndFrame();
|
||||
}
|
||||
|
||||
void QtHostInterface::wakeThread()
|
||||
|
|
Loading…
Reference in a new issue