Skip to content

Commit

Permalink
GPU/OpenGL: Fix incorrect 1/4 blend on Mali
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Oct 21, 2023
1 parent 6592caf commit 06c4dc5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/gpu_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<GPUTransparencyMode>(transparency_mode) ==
GPUTransparencyMode::HalfBackgroundPlusHalfForeground ||
static_cast<GPUTransparencyMode>(transparency_mode) ==
GPUTransparencyMode::BackgroundPlusQuarterForeground)
GPUTransparencyMode::HalfBackgroundPlusHalfForeground)
{
plconfig.blend.dst_blend = GPUPipeline::BlendFunc::ConstantColor;
plconfig.blend.dst_alpha_blend = GPUPipeline::BlendFunc::ConstantColor;
Expand Down

0 comments on commit 06c4dc5

Please sign in to comment.