[cogl/gles] Fix missing symbols in CoglContext

Keep the CoglContext in sync between GL and GLES backends. We ought
to find a way to have a generic context, though, and have backend
specific sections.

Fixes bug:

  http://bugzilla.openedhand.com/show_bug.cgi?id=1698
This commit is contained in:
Emmanuele Bassi 2009-07-18 16:59:54 +01:00
parent b00fb8598a
commit c570014360

View File

@ -48,15 +48,15 @@ typedef struct
{
/* Features cache */
CoglFeatureFlags feature_flags;
gboolean features_cached;
/* Enable cache */
gulong enable_flags;
guint8 color_alpha;
gboolean enable_backface_culling;
gboolean indirect;
guint features_cached : 1;
guint enable_backface_culling : 1;
guint indirect : 1;
guint in_begin_gl_block : 1;
/* Client-side matrix stack or NULL if none */
CoglMatrixMode matrix_mode;
@ -109,6 +109,9 @@ typedef struct
guint quad_indices_short_len;
CoglHandle quad_indices_short;
gfloat viewport_width;
gfloat viewport_height;
#ifdef HAVE_COGL_GLES2
CoglGles2Wrapper gles2;