cogl-matrix-stack: Convert to be a CoglObject
We will want to use ref-counting on the CoglMatrixStack so it might as well be a CoglObject.
This commit is contained in:
@ -102,7 +102,7 @@ texture_unit_free (CoglTextureUnit *unit)
|
||||
{
|
||||
if (unit->layer)
|
||||
cogl_object_unref (unit->layer);
|
||||
_cogl_matrix_stack_destroy (unit->matrix_stack);
|
||||
cogl_object_unref (unit->matrix_stack);
|
||||
}
|
||||
|
||||
CoglTextureUnit *
|
||||
|
Reference in New Issue
Block a user