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

View file

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