mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Actually have Dual Source blending work for people. Forgot about this change.
This commit is contained in:
parent
a304af75fd
commit
a5257c1a0a
2 changed files with 8 additions and 3 deletions
|
@ -937,8 +937,8 @@ void Renderer::SetBlendMode(bool forceUpdate)
|
|||
|
||||
#ifdef USE_DUAL_SOURCE_BLEND
|
||||
bool useDstAlpha = !g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate
|
||||
&& bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
|
||||
bool useDualSource = useDstAlpha && GLEW_ARB_blend_func_extended;
|
||||
&& bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24 && g_ActiveConfig.bUseGLSL;
|
||||
bool useDualSource = useDstAlpha;
|
||||
#endif
|
||||
|
||||
if (changes & 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue