X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fdrivers%2Fsoftpipe%2Fsp_quad_blend.c;h=48d1a2e6740af1c577eb44105b5756f6276596f4;hb=2b291eaa90b3aa44cafd28c21855a3808b60bc68;hp=b85431d5be9ff8250e0fd3c8b4f78e2738ba4355;hpb=48ce9289001c4c04503bd5061135b120cfe51cee;p=mesa.git diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index b85431d5be9..48d1a2e6740 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -1268,7 +1268,7 @@ choose_blend_quad(struct quad_stage *qs, bqs->base_format[i] = LUMINANCE; else if (util_format_is_luminance_alpha(format)) bqs->base_format[i] = LUMINANCE_ALPHA; - else if (util_format_is_rgb_no_alpha(format)) + else if (!util_format_has_alpha(format)) bqs->base_format[i] = RGB; else bqs->base_format[i] = RGBA;