diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2013-02-12 17:55:45 -0500 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2013-02-13 18:47:16 +0000 |
commit | 66c75f9a9d717dea6c0e1a4c7b41db6c5f017dc6 (patch) | |
tree | e3dc3c226c4722ef91a52d551861882e7856f405 /cogl/cogl-context-private.h | |
parent | a60f16116dd5ee00ae83f87caa787b322b5e65fd (diff) | |
download | cogl-66c75f9a9d717dea6c0e1a4c7b41db6c5f017dc6.tar.gz |
cogl-texture: Make the list of registered types global, not per-context
If we make this per-context and create two Cogl contexts, some types
won't re-register, and we'll be in a broken state where some types will
be considered not to be texture types.
https://bugzilla.gnome.org/show_bug.cgi?id=693696
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 567f049d20554bb8ea4e40fa5e72a9fd0bbd409e)
Diffstat (limited to 'cogl/cogl-context-private.h')
-rw-r--r-- | cogl/cogl-context-private.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cogl/cogl-context-private.h b/cogl/cogl-context-private.h index d82e8096..31033d0b 100644 --- a/cogl/cogl-context-private.h +++ b/cogl/cogl-context-private.h @@ -243,10 +243,6 @@ struct _CoglContext CoglBool current_gl_dither_enabled; CoglColorMask current_gl_color_mask; - /* List of types that will be considered a subclass of CoglTexture in - cogl_is_texture */ - GSList *texture_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 |