GPU/D3D11: Restore API state after updating settings
Should fix the debug layer warnings when adjusting resolution scale.
This commit is contained in:
@@ -126,6 +126,7 @@ void GPU_HW_D3D11::UpdateSettings()
|
|||||||
CreateFramebuffer();
|
CreateFramebuffer();
|
||||||
CreateStateObjects();
|
CreateStateObjects();
|
||||||
CompileShaders();
|
CompileShaders();
|
||||||
|
RestoreGraphicsAPIState();
|
||||||
UpdateDisplay();
|
UpdateDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user