mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-18 19:55:46 -04:00
System: Move restore/reset graphics API state to System
Fixes frame stepping.
This commit is contained in:
@ -1094,14 +1094,10 @@ void QtHostInterface::threadEntryPoint()
|
||||
|
||||
void QtHostInterface::renderDisplay()
|
||||
{
|
||||
g_gpu->ResetGraphicsAPIState();
|
||||
|
||||
DrawImGuiWindows();
|
||||
|
||||
m_display->Render();
|
||||
ImGui::NewFrame();
|
||||
|
||||
g_gpu->RestoreGraphicsAPIState();
|
||||
}
|
||||
|
||||
void QtHostInterface::wakeThread()
|
||||
|
Reference in New Issue
Block a user