Woops, better not forget the ing
This commit is contained in:
parent
3773d29b6d
commit
6f729f8cbf
|
@ -961,7 +961,7 @@ void Renderer::SetBlendMode(bool forceUpdate)
|
|||
|
||||
bool useDstAlpha = !g_ActiveConfig.bDstAlphaPass && bpmem.dstalpha.enable && bpmem.blendmode.alphaupdate
|
||||
&& bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
|
||||
bool useDualSource = g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLBind;
|
||||
bool useDualSource = useDstAlpha && g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLBinding;
|
||||
|
||||
if (changes & 1)
|
||||
// blend enable change
|
||||
|
|
|
@ -178,7 +178,7 @@ void VertexManager::vFlush()
|
|||
&& bpmem.zcontrol.pixel_format == PIXELFMT_RGBA6_Z24;
|
||||
|
||||
// Makes sure we can actually do Dual source blending
|
||||
bool dualSourcePossible = g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLBind;
|
||||
bool dualSourcePossible = g_ActiveConfig.bUseGLSL && g_ActiveConfig.backend_info.bSupportsGLSLBinding;
|
||||
|
||||
// finally bind
|
||||
FRAGMENTSHADER* ps;
|
||||
|
|
Loading…
Reference in New Issue