GPU/OpenGL: Fix incorrect 1/4 blend on Mali
This commit is contained in:
parent
6592cafadc
commit
06c4dc5e1b
|
@ -866,9 +866,7 @@ bool GPU_HW::CompilePipelines()
|
||||||
plconfig.blend.src_blend = GPUPipeline::BlendFunc::One;
|
plconfig.blend.src_blend = GPUPipeline::BlendFunc::One;
|
||||||
plconfig.blend.dst_blend = GPUPipeline::BlendFunc::One;
|
plconfig.blend.dst_blend = GPUPipeline::BlendFunc::One;
|
||||||
if (static_cast<GPUTransparencyMode>(transparency_mode) ==
|
if (static_cast<GPUTransparencyMode>(transparency_mode) ==
|
||||||
GPUTransparencyMode::HalfBackgroundPlusHalfForeground ||
|
GPUTransparencyMode::HalfBackgroundPlusHalfForeground)
|
||||||
static_cast<GPUTransparencyMode>(transparency_mode) ==
|
|
||||||
GPUTransparencyMode::BackgroundPlusQuarterForeground)
|
|
||||||
{
|
{
|
||||||
plconfig.blend.dst_blend = GPUPipeline::BlendFunc::ConstantColor;
|
plconfig.blend.dst_blend = GPUPipeline::BlendFunc::ConstantColor;
|
||||||
plconfig.blend.dst_alpha_blend = GPUPipeline::BlendFunc::ConstantColor;
|
plconfig.blend.dst_alpha_blend = GPUPipeline::BlendFunc::ConstantColor;
|
||||||
|
|
Loading…
Reference in New Issue