forked from AuroraMiddleware/gtk
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:
|
||||
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