mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 22:20:24 +00:00
gl renderer: Dont' memcmp() a GskTransform
This commit is contained in:
parent
88344ccf4e
commit
a0cb68283d
@ -219,7 +219,7 @@ ops_set_program (RenderOpBuilder *builder,
|
||||
program_state->projection = builder->current_projection;
|
||||
}
|
||||
|
||||
if (memcmp (&empty_matrix, &program_state->modelview, sizeof (graphene_matrix_t)) == 0 ||
|
||||
if (program_state->modelview == NULL ||
|
||||
!gsk_transform_equal (builder->current_modelview, program_state->modelview))
|
||||
{
|
||||
op.op = OP_CHANGE_MODELVIEW;
|
||||
|
Loading…
Reference in New Issue
Block a user