mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
DX11:
Fix StateManager usage in ResetAPIState/RestoreAPIState. Fix screenshots (finally). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5745 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -369,10 +369,10 @@ void Flush()
|
||||
// update alpha only
|
||||
Draw(stride, true);
|
||||
}
|
||||
gfxstate->Reset();
|
||||
|
||||
shader_fail:
|
||||
ResetBuffer();
|
||||
gfxstate->ResetShaderResources();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
Reference in New Issue
Block a user