summaryrefslogtreecommitdiff
path: root/gsk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-04-19 08:13:55 +0200
committerMatthias Clasen <mclasen@redhat.com>2023-04-19 08:13:55 +0200
commit503a5de7d119e28df21b304747ca4008b6692e4f (patch)
tree47a14b7dda7ba00e316124af40529b4d1101f337 /gsk
parentd7d75f0b26bddc8144d4f5189c03149998bc6439 (diff)
downloadgtk+-503a5de7d119e28df21b304747ca4008b6692e4f.tar.gz
gsk: Mask nodes support 2d transforms
When adding mask nodes, I overlooked that we have two separate functions for determining what transforms a node supports without offlines. Since we claim that mask nodes support general transform, they must certainly support 2d transforms as well.
Diffstat (limited to 'gsk')
-rw-r--r--gsk/gl/gskglrenderjob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gsk/gl/gskglrenderjob.c b/gsk/gl/gskglrenderjob.c
index ecc78e6a4a..43bd1ef960 100644
--- a/gsk/gl/gskglrenderjob.c
+++ b/gsk/gl/gskglrenderjob.c
@@ -273,6 +273,7 @@ node_supports_2d_transform (const GskRenderNode *node)
case GSK_CAIRO_NODE:
case GSK_BLEND_NODE:
case GSK_BLUR_NODE:
+ case GSK_MASK_NODE:
return TRUE;
case GSK_SHADOW_NODE: