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
This commit is contained in:
NeoBrainX 2010-10-09 13:47:56 +00:00
parent cf5639af54
commit ccb4645f24
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ void VertexManager::vFlush()
Draw(); Draw();
// run through vertex groups again to set alpha // 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); ps = PixelShaderCache::SetShader(true,g_nativeVertexFmt->m_components);
if (ps) PixelShaderCache::SetCurrentShader(ps->glprogid); if (ps) PixelShaderCache::SetCurrentShader(ps->glprogid);