GPU/D3D11: Restore API state after updating settings

Should fix the debug layer warnings when adjusting resolution scale.
This commit is contained in:
Connor McLaughlin 2020-04-27 13:52:57 +10:00
parent 304391bd00
commit 36444b264f
1 changed files with 1 additions and 0 deletions

View File

@ -126,6 +126,7 @@ void GPU_HW_D3D11::UpdateSettings()
CreateFramebuffer(); CreateFramebuffer();
CreateStateObjects(); CreateStateObjects();
CompileShaders(); CompileShaders();
RestoreGraphicsAPIState();
UpdateDisplay(); UpdateDisplay();
} }