D3D9/11: Move away from using context->SwapBuffers(), instead move present to draw_->Present().

This commit is contained in:
Henrik Rydgård committed 2023-08-11 01:57:02 +02:00
1 parent 1bdbef487b
commit ed9b033f7d
13 files changed
+30 -46

No files matched your search

+1 -1
View File
@@ -1157,7 +1157,7 @@ void NativeFrame(GraphicsContext *graphicsContext) {
ClearFailedGPUBackends();
}
g_draw->Present();
g_draw->Present(1);
if (resized) {
INFO_LOG(G3D, "Resized flag set - recalculating bounds");