diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h index 4c3835451..d82e8096c 100644 --- a/cogl/cogl-context-private.h +++ b/cogl/cogl-context-private.h @@ -247,10 +247,6 @@ struct _CoglContext cogl_is_texture */ GSList *texture_types; - /* List of types that will be considered a subclass of CoglBuffer in - cogl_is_buffer */ - GSList *buffer_types; - /* Clipping */ /* TRUE if we have a valid clipping stack flushed. In that case current_clip_stack will describe what the current state is. If diff --git a/cogl/cogl-context.c b/cogl/cogl-context.c index 65d58b064..4346ce388 100644 --- a/cogl/cogl-context.c +++ b/cogl/cogl-context.c @@ -180,7 +180,6 @@ cogl_context_new (CoglDisplay *display, context->private_feature_flags = 0; context->texture_types = NULL; - context->buffer_types = NULL; context->rectangle_state = COGL_WINSYS_RECTANGLE_STATE_UNKNOWN; @@ -560,7 +559,6 @@ _cogl_context_free (CoglContext *context) _cogl_bitmask_destroy (&context->changed_bits_tmp); g_slist_free (context->texture_types); - g_slist_free (context->buffer_types); if (context->current_modelview_entry) cogl_matrix_entry_unref (context->current_modelview_entry);