mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-03 17:35:43 -04:00
GPU/D3D11: Restore API state after updating settings
Should fix the debug layer warnings when adjusting resolution scale.
This commit is contained in:
parent
304391bd00
commit
36444b264f
@ -126,6 +126,7 @@ void GPU_HW_D3D11::UpdateSettings()
|
|||||||
CreateFramebuffer();
|
CreateFramebuffer();
|
||||||
CreateStateObjects();
|
CreateStateObjects();
|
||||||
CompileShaders();
|
CompileShaders();
|
||||||
|
RestoreGraphicsAPIState();
|
||||||
UpdateDisplay();
|
UpdateDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user