From 714618f4ad8d98b98e4f7a2ade1469d39d83a459 Mon Sep 17 00:00:00 2001 From: Rodolfo Osvaldo Bogado Date: Thu, 3 Dec 2009 22:28:03 +0000 Subject: [PATCH] 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 --- Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index 73b54009e8..04e8d65f52 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -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);