Colors are always unpremultiplied

We can't use gsk_gpu_node_processor_color_states_self() for ops which
apply alt to colors that don't come from textures, since those are
always unpremultiplied.

This fixes the + and - in disabled spin buttons appearing completely
white.
This commit is contained in:
Matthias Clasen 2024-08-05 23:32:29 -04:00
parent c04edfc76e
commit d9e15ff6e9

View File

@ -2713,7 +2713,7 @@ gsk_gpu_node_processor_add_mask_node (GskGpuNodeProcessor *self,
gsk_gpu_colorize_op (self->frame,
gsk_gpu_clip_get_shader_clip (&self->clip, &self->offset, &node->bounds),
gsk_gpu_node_processor_color_states_self (self),
gsk_gpu_node_processor_color_states_explicit (self, self->ccs, FALSE),
&self->offset,
&(GskGpuShaderImage) {
mask_image,