[cogl/cogl-1.14] cogl-context: Remove the unused buffer_types variable



commit a60f16116dd5ee00ae83f87caa787b322b5e65fd
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Feb 12 17:50:31 2013 -0500

    cogl-context: Remove the unused buffer_types variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693696
    
    Reviewed-by: Neil Roberts <neil linux intel com>

 cogl/cogl-context-private.h |    4 ----
 cogl/cogl-context.c         |    2 --
 2 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h
index 4c38354..d82e809 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 65d58b0..4346ce3 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]