mutter/cogl/driver/gl
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-gl.c Combine _cogl_context_check_gl_version and update_features into one 2011-07-18 15:41:35 +01:00
cogl-texture-driver-gl.c Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00