summaryrefslogtreecommitdiff
path: root/cogl/cogl-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'cogl/cogl-context.c')
-rw-r--r--cogl/cogl-context.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c
index b44a748e..f6dea4cb 100644
--- a/cogl/cogl-context.c
+++ b/cogl/cogl-context.c
@@ -396,12 +396,6 @@ _cogl_context_free (CoglContext *context)
winsys->context_deinit (context);
- if (context->window_buffer)
- {
- cogl_object_unref (context->window_buffer);
- context->window_buffer = NULL;
- }
-
_cogl_free_framebuffer_stack (context->framebuffer_stack);
if (context->current_path)