mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 12:20:10 +00:00
gl renderer: Fix only_translation check
This commit is contained in:
parent
6f8c4f873d
commit
538491efa1
@ -83,7 +83,7 @@ extract_matrix_metadata (const graphene_matrix_t *m,
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
md->only_translation = (md->simple && md->scale_x == 0 && md->scale_y == 0);
|
md->only_translation = (md->simple && md->scale_x == 1 && md->scale_y == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user