mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 08:34:41 +00:00
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:
@@ -166,10 +166,10 @@ _cogl_framebuffer_free (CoglFramebuffer *framebuffer)
|
||||
{
|
||||
_cogl_clip_state_destroy (&framebuffer->clip_state);
|
||||
|
||||
_cogl_matrix_stack_destroy (framebuffer->modelview_stack);
|
||||
cogl_object_unref (framebuffer->modelview_stack);
|
||||
framebuffer->modelview_stack = NULL;
|
||||
|
||||
_cogl_matrix_stack_destroy (framebuffer->projection_stack);
|
||||
cogl_object_unref (framebuffer->projection_stack);
|
||||
framebuffer->projection_stack = NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user