From 06c4dc5e1b3c3a9796c1e5e3135d653a58084ab1 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 21 Oct 2023 23:15:20 +1000 Subject: [PATCH] GPU/OpenGL: Fix incorrect 1/4 blend on Mali --- src/core/gpu_hw.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 34dcb2364..6e95299c5 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -866,9 +866,7 @@ bool GPU_HW::CompilePipelines() plconfig.blend.src_blend = GPUPipeline::BlendFunc::One; plconfig.blend.dst_blend = GPUPipeline::BlendFunc::One; if (static_cast(transparency_mode) == - GPUTransparencyMode::HalfBackgroundPlusHalfForeground || - static_cast(transparency_mode) == - GPUTransparencyMode::BackgroundPlusQuarterForeground) + GPUTransparencyMode::HalfBackgroundPlusHalfForeground) { plconfig.blend.dst_blend = GPUPipeline::BlendFunc::ConstantColor; plconfig.blend.dst_alpha_blend = GPUPipeline::BlendFunc::ConstantColor;