Revert "gl renderer: ops_set_modelview is (transfer full)"

This reverts commit e904c49e8a.

This breaks HiDPI setups, i.e. setups where the call to
ops_set_modelview does not end up with a NULL transform.
This commit is contained in:
Timm Bäder 2019-07-21 12:43:00 +02:00
parent 8beea4d958
commit 5f21c45f75

View File

@ -401,7 +401,7 @@ ops_set_modelview (RenderOpBuilder *builder,
g_array_set_size (builder->mv_stack, builder->mv_stack->len + 1);
entry = &g_array_index (builder->mv_stack, MatrixStackEntry, builder->mv_stack->len - 1);
entry->transform = transform;
entry->transform = gsk_transform_ref (transform);
entry->metadata.dx_before = builder->dx;
entry->metadata.dy_before = builder->dy;