diff --git a/gl/cogl-defines.h.in b/gl/cogl-defines.h.in index 025b4cad0..1c79bedfa 100644 --- a/gl/cogl-defines.h.in +++ b/gl/cogl-defines.h.in @@ -685,6 +685,7 @@ G_BEGIN_DECLS #define CGL_OBJECT_COMPILE_STATUS GL_OBJECT_COMPILE_STATUS_ARB #define CLUTTER_COGL_HAS_GL 1 +#define COGL_HAS_GL 1 /* Extension function prototypes */ diff --git a/gles/cogl-defines.h.in b/gles/cogl-defines.h.in index 8c0f279e9..97045df94 100644 --- a/gles/cogl-defines.h.in +++ b/gles/cogl-defines.h.in @@ -448,6 +448,7 @@ G_BEGIN_DECLS #endif #define CLUTTER_COGL_HAS_GLES 1 +#define COGL_HAS_GLES 1 /* These aren't always defined under GLES 2 but if they are then we should probably use the GL_* macro instead of assuming the