System: Move restore/reset graphics API state to System
Fixes frame stepping.
This commit is contained in:
1 parent
3532ab8d72
commit
e9882a10aa
5 files changed
+34
-25
No files matched your search
@@ -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