mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
cogl/graphene-utils: Simplify
This commit is contained in:
parent
b1c0128a2b
commit
5289026257
@ -71,8 +71,5 @@ void
|
||||
graphene_matrix_to_cogl_matrix (const graphene_matrix_t *matrix,
|
||||
CoglMatrix *res)
|
||||
{
|
||||
float data[16];
|
||||
|
||||
graphene_matrix_to_float (matrix, data);
|
||||
cogl_matrix_init_from_array (res, data);
|
||||
graphene_matrix_to_float (matrix, (float *)res);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user