Disable blending during destination alpha render pass.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2664 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
7ef5e5cd1e
commit
86944b5be2
|
@ -293,6 +293,8 @@ void Flush()
|
|||
// only update alpha
|
||||
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_TRUE);
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
|
||||
groupStart = 0;
|
||||
for (unsigned i = 0; i < s_vertexGroups.size(); i++)
|
||||
{
|
||||
|
@ -307,6 +309,9 @@ void Flush()
|
|||
// restore color mask
|
||||
if (!bRestoreBuffers)
|
||||
Renderer::SetColorMask();
|
||||
|
||||
if (bpmem.blendmode.blendenable || bpmem.blendmode.subtract)
|
||||
glEnable(GL_BLEND);
|
||||
}
|
||||
|
||||
#if defined(_DEBUG) || defined(DEBUGFAST)
|
||||
|
|
Loading…
Reference in New Issue