mutter/cogl/winsys
Neil Roberts 231be91fb0 Combine _cogl_context_check_gl_version and update_features into one
The _cogl_context_check_gl_version function is meant to be called once
Cogl has a GL context so that it can check whether the context found
is supported by Cogl. However, only the stub winsys was calling this
and it was doing it before Cogl had a chance to retrieve the function
pointer for glString so it would just crash. This patch combines the
two functions into one so that _cogl_context_update_features returns a
gboolean and a GError. Then it can just check the context itself.

https://bugzilla.gnome.org/show_bug.cgi?id=654440

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-07-18 15:41:35 +01:00
..
cogl-texture-pixmap-x11-private.h texture-pixmap-x11: Move GLX code to cogl-winsys-glx.c 2011-05-05 14:46:01 +01:00
cogl-texture-pixmap-x11.c replace public native_event APIs with typesafe APIs 2011-06-30 14:33:13 +01:00
cogl-texture-pixmap-x11.h docs: API reference fixes 2010-09-20 13:15:44 +01:00
cogl-winsys-egl-feature-functions.h build: don't referencing wayland syms if not available 2011-07-13 19:06:19 +01:00
cogl-winsys-egl-private.h Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-winsys-egl.c Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-winsys-glx-feature-functions.h Moves all GLX code down from Clutter to Cogl 2011-04-11 17:54:36 +01:00
cogl-winsys-glx.c Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-winsys-private.h renderer: Expose winsys ID setter/getters 2011-06-30 14:33:11 +01:00
cogl-winsys-sdl.c rename winsys files to be more consistent 2011-04-11 17:54:35 +01:00
cogl-winsys-stub-private.h Make stub winsys into a proper winsys backend 2011-06-01 20:44:41 +01:00
cogl-winsys-stub.c Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-winsys-wgl-feature-functions.h Add a WGL winsys 2011-05-10 17:58:41 +01:00
cogl-winsys-wgl.c Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-winsys.c Add internal _cogl_get_proc_address 2011-06-01 20:44:41 +01:00