mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-31 15:32:38 +00:00
VideoCommon: Drop "Disable destAlpha" hack
This option has no use any more, neither performance nor driver workaround.
This commit is contained in:
parent
38d05cd70f
commit
74b20e627c
9 changed files with 4 additions and 23 deletions
|
@ -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] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue