From c40ca6553f1e3bf9190afd5e6522be2065e16940 Mon Sep 17 00:00:00 2001 From: Rodolfo Osvaldo Bogado Date: Fri, 25 Feb 2011 20:24:48 +0000 Subject: [PATCH] little commit to dx9 add generation mode to RestoreAPIState to avoid possible errors, don't know if this fix anything but now is more correct. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7245 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoDX9/Src/Render.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp index 9c1b33a46c..2ba4f1ebc7 100644 --- a/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoDX9/Src/Render.cpp @@ -1327,6 +1327,7 @@ void Renderer::RestoreAPIState() D3D::SetRenderState(D3DRS_ZWRITEENABLE, TRUE); SetColorMask(); SetLogicOpMode(); + SetGenerationMode(); } void Renderer::SetGenerationMode()