diff options
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_quad_blend.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |