mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
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:
parent
c04edfc76e
commit
d9e15ff6e9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user