mirror of
https://github.com/brl/mutter.git
synced 2024-11-12 17:27:03 -05:00
Fix a typo in _cogl_matrix_init_translation
The y translation was being initialised with the z value and the z translation was being left as 0.0. (cherry picked from commit b44feb617ecb9cbf7d53f0d745f686c17ef3246d)
This commit is contained in:
parent
67a095b9dd
commit
9a654d173e
@ -1641,7 +1641,7 @@ _cogl_matrix_init_translation (CoglMatrix *matrix,
|
||||
|
||||
matrix->xw = tx;
|
||||
matrix->yw = ty;
|
||||
matrix->yw = tz;
|
||||
matrix->zw = tz;
|
||||
|
||||
matrix->type = COGL_MATRIX_TYPE_3D;
|
||||
matrix->flags = MAT_FLAG_TRANSLATION | MAT_DIRTY_INVERSE;
|
||||
|
Loading…
Reference in New Issue
Block a user