File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,12 @@ namespace dxvk {
492
492
ResetState (pPresentationParameters);
493
493
m_implicitSwapchain->DestroyBackBuffers ();
494
494
m_autoDepthStencil = nullptr ;
495
+
496
+ // Tests show that regular D3D9 ends the scene in Reset
497
+ // while D3D9Ex doesn't.
498
+ // Observed in Empires: Dawn of the Modern World (D3D8)
499
+ // and the OSU compatibility mode (D3D9Ex).
500
+ m_flags.clr (D3D9DeviceFlag::InScene);
495
501
} else {
496
502
// Extended devices only reset the bound render targets
497
503
for (uint32_t i = 0 ; i < caps::MaxSimultaneousRenderTargets; i++) {
@@ -500,7 +506,6 @@ namespace dxvk {
500
506
SetDepthStencilSurface (nullptr );
501
507
}
502
508
503
- m_flags.clr (D3D9DeviceFlag::InScene);
504
509
m_cursor.ResetCursor ();
505
510
506
511
/*
You can’t perform that action at this time.
0 commit comments