mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
cogl/graphene-utils: Simplify
This commit is contained in:
@@ -71,8 +71,5 @@ void
|
|||||||
graphene_matrix_to_cogl_matrix (const graphene_matrix_t *matrix,
|
graphene_matrix_to_cogl_matrix (const graphene_matrix_t *matrix,
|
||||||
CoglMatrix *res)
|
CoglMatrix *res)
|
||||||
{
|
{
|
||||||
float data[16];
|
graphene_matrix_to_float (matrix, (float *)res);
|
||||||
|
|
||||||
graphene_matrix_to_float (matrix, data);
|
|
||||||
cogl_matrix_init_from_array (res, data);
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user