mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-30 17:25:41 -04: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…
x
Reference in New Issue
Block a user