diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-10 13:56:43 -0400 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2015-09-10 13:56:43 -0400 |
| commit | 3014feedc839d69931079ad3c4f645ef51055e1a (patch) | |
| tree | 07855c50da98ae185adbc250ffed2b852d1bc11e /Source/Core/VideoBackends | |
| parent | 257f2ef739793b571fdbc72356a3d8f2de325bee (diff) | |
| parent | 74b20e627ca524366b0a4fa617d59014cd2c967c (diff) | |
Merge pull request #3012 from degasus/destAlpha
VideoCommon: Drop "Disable destAlpha" hack
Diffstat (limited to 'Source/Core/VideoBackends')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/Render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index 046c57a8db..de48229363 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -1322,7 +1322,7 @@ void Renderer::SetBlendMode(bool forceUpdate) // Example: D3DBLEND_DESTALPHA needs to be D3DBLEND_ONE since the result without an alpha channel is assumed to always be 1. bool target_has_alpha = bpmem.zcontrol.pixel_format == PEControl::RGBA6_Z24; - bool useDstAlpha = !g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && target_has_alpha; + bool useDstAlpha = bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate && target_has_alpha; bool useDualSource = useDstAlpha && g_ActiveConfig.backend_info.bSupportsDualSourceBlend; const GLenum glSrcFactors[8] = |
