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:
Neil Roberts
2010-12-10 16:06:16 +00:00
parent d678125dd4
commit c11f72fd6d
4 changed files with 13 additions and 9 deletions

View File

@ -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 *