From babaffcce9a0c4ecd29139754b689bb9bcd6d97c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 13 Nov 2024 21:07:00 +1000 Subject: [PATCH] GPU/HW: Don't enable no-color-perspective when unsupported i.e. GLES --- src/core/gpu_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/gpu_hw.cpp b/src/core/gpu_hw.cpp index 65b019c54..13dd40ebd 100644 --- a/src/core/gpu_hw.cpp +++ b/src/core/gpu_hw.cpp @@ -1021,7 +1021,7 @@ bool GPU_HW::CompilePipelines(Error* error) (upscaled && m_texture_filtering == GPUTextureFilter::Nearest && g_settings.gpu_force_round_texcoords); const bool true_color = g_settings.gpu_true_color; const bool scaled_dithering = (!m_true_color && upscaled && g_settings.gpu_scaled_dithering); - const bool disable_color_perspective = ShouldDisableColorPerspective(); + const bool disable_color_perspective = (features.noperspective_interpolation && ShouldDisableColorPerspective()); // Determine when to use shader blending. // FBFetch is free, we need it for filtering without DSB, or when accurate blending is forced.