mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 15:19:42 -06:00
D3D: RestoreState no longer resets PS resources
This commit is contained in:
@ -1027,9 +1027,6 @@ void Renderer::ApplyState(bool bUseDstAlpha)
|
|||||||
|
|
||||||
void Renderer::RestoreState()
|
void Renderer::RestoreState()
|
||||||
{
|
{
|
||||||
ID3D11ShaderResourceView* shader_resources[8] = { nullptr };
|
|
||||||
D3D::context->PSSetShaderResources(0, 8, shader_resources);
|
|
||||||
|
|
||||||
D3D::stateman->PopBlendState();
|
D3D::stateman->PopBlendState();
|
||||||
D3D::stateman->PopDepthState();
|
D3D::stateman->PopDepthState();
|
||||||
D3D::stateman->PopRasterizerState();
|
D3D::stateman->PopRasterizerState();
|
||||||
|
Reference in New Issue
Block a user