Qt: Move ImGui NewFrame/EndFrame to correct location

pull/1599/head
Connor McLaughlin 4 years ago
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()
{
ImGui::NewFrame();
DrawImGuiWindows();
m_display->Render();
ImGui::NewFrame();
ImGui::EndFrame();
}
void QtHostInterface::wakeThread()

Loading…
Cancel
Save