gl renderer: don't pretend all transform nodes support being transformed

It doesn't work in the general case. The transform handling could use a
general overhaul though.

Fixes #2773
This commit is contained in:
Timm Bäder 2020-05-22 19:50:29 +02:00
parent f3ca814f3d
commit 930d779eb3

View File

@ -273,13 +273,15 @@ node_supports_transform (GskRenderNode *node)
case GSK_OPACITY_NODE:
case GSK_COLOR_MATRIX_NODE:
case GSK_TEXTURE_NODE:
case GSK_TRANSFORM_NODE:
case GSK_CROSS_FADE_NODE:
case GSK_LINEAR_GRADIENT_NODE:
case GSK_DEBUG_NODE:
case GSK_TEXT_NODE:
return TRUE;
case GSK_TRANSFORM_NODE:
return node_supports_transform (gsk_transform_node_get_child (node));
default:
return FALSE;
}