small commit to fix a error introduced in 4618, thanks to LordMark for show me the games where the error is visible

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4638 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado 2009-12-03 22:28:03 +00:00
parent a99a1451f9
commit 714618f4ad
1 changed files with 1 additions and 2 deletions

View File

@ -930,8 +930,7 @@ void Renderer::RestoreAPIState()
{
// Gets us back into a more game-like state.
UpdateViewport();
D3D::SetRenderState(D3DRS_CULLMODE, d3dCullModes[bpmem.genMode.cullmode]);
UpdateViewport();
if (bpmem.zmode.testenable) D3D::SetRenderState(D3DRS_ZENABLE, TRUE);
if (bpmem.zmode.updateenable) D3D::SetRenderState(D3DRS_ZWRITEENABLE, TRUE);