gl renderer: Fix push/pop modelview behavior

This commit is contained in:
Timm Bäder 2019-06-29 08:57:27 +02:00
parent 99c01607f1
commit 6b42e5b433

View File

@ -339,9 +339,12 @@ ops_set_modelview_internal (RenderOpBuilder *builder,
RenderOp op;
graphene_matrix_t matrix;
#if 0
XXX This is not possible if we want pop() to work.
if (builder->current_program &&
gsk_transform_equal (builder->current_program_state->modelview, transform))
return;
#endif
gsk_transform_to_matrix (transform, &matrix);