gl renderer: Fix only_translation check

This commit is contained in:
Timm Bäder 2018-11-29 15:39:14 +01:00
parent 6f8c4f873d
commit 538491efa1

View File

@ -83,7 +83,7 @@ extract_matrix_metadata (const graphene_matrix_t *m,
}
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);
}