From ccb4645f24bd8ea4f995d4babb13cc41fb8b3552 Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Sat, 9 Oct 2010 13:47:56 +0000 Subject: [PATCH] Fix a bug introduced by r6240. Fixes issue 3320. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6265 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp b/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp index 36d9886524..40938f4178 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/VertexManager.cpp @@ -191,7 +191,7 @@ void VertexManager::vFlush() Draw(); // run through vertex groups again to set alpha - if (bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate) + if (!g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate) { ps = PixelShaderCache::SetShader(true,g_nativeVertexFmt->m_components); if (ps) PixelShaderCache::SetCurrentShader(ps->glprogid);