mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 08:25:47 -04:00
System: Move restore/reset graphics API state to System
Fixes frame stepping.
This commit is contained in:
@ -259,12 +259,8 @@ void LibretroHostInterface::retro_run_frame()
|
||||
|
||||
UpdateControllers();
|
||||
|
||||
g_gpu->RestoreGraphicsAPIState();
|
||||
|
||||
System::RunFrame();
|
||||
|
||||
g_gpu->ResetGraphicsAPIState();
|
||||
|
||||
m_display->Render();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user