mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +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);
|
connectDisplaySignals(display_widget);
|
||||||
m_is_exclusive_fullscreen = m_display->IsFullscreen();
|
m_is_exclusive_fullscreen = m_display->IsFullscreen();
|
||||||
ImGui::NewFrame();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1474,10 +1473,10 @@ void QtHostInterface::threadEntryPoint()
|
||||||
|
|
||||||
void QtHostInterface::renderDisplay()
|
void QtHostInterface::renderDisplay()
|
||||||
{
|
{
|
||||||
DrawImGuiWindows();
|
|
||||||
|
|
||||||
m_display->Render();
|
|
||||||
ImGui::NewFrame();
|
ImGui::NewFrame();
|
||||||
|
DrawImGuiWindows();
|
||||||
|
m_display->Render();
|
||||||
|
ImGui::EndFrame();
|
||||||
}
|
}
|
||||||
|
|
||||||
void QtHostInterface::wakeThread()
|
void QtHostInterface::wakeThread()
|
||||||
|
|
Loading…
Reference in a new issue