From 9a2a4ef7b37baadb9000c150b8b798aeeaec97d3 Mon Sep 17 00:00:00 2001 From: Matthew Allum Date: Fri, 14 Dec 2007 12:36:45 +0000 Subject: [PATCH] 2007-12-14 Matthew Allum * clutter/cogl/gl/cogl-defines.h.in: * clutter/cogl/gles/cogl-defines.h: Add CLUTTER_COGL_HAS_GL/GLES defines --- ChangeLog | 6 ++++++ clutter/cogl/gl/cogl-defines.h.in | 1 + clutter/cogl/gles/cogl-defines.h | 2 ++ 3 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 767152014..9d003f7b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-12-14 Matthew Allum + + * clutter/cogl/gl/cogl-defines.h.in: + * clutter/cogl/gles/cogl-defines.h: + Add CLUTTER_COGL_HAS_GL/GLES defines + 2007-12-11 Øyvind Kolås Refined the ClutterShader API based on a patch from Emmanuele Bassi. diff --git a/clutter/cogl/gl/cogl-defines.h.in b/clutter/cogl/gl/cogl-defines.h.in index 93abe436c..795b0e4f8 100644 --- a/clutter/cogl/gl/cogl-defines.h.in +++ b/clutter/cogl/gl/cogl-defines.h.in @@ -703,6 +703,7 @@ typedef GLuint COGLuint; #define CGL_OBJECT_COMPILE_STATUS GL_OBJECT_COMPILE_STATUS_ARB +#define CLUTTER_COGL_HAS_GL 1 G_END_DECLS diff --git a/clutter/cogl/gles/cogl-defines.h b/clutter/cogl/gles/cogl-defines.h index c8ad851e5..cc11f51b9 100644 --- a/clutter/cogl/gles/cogl-defines.h +++ b/clutter/cogl/gles/cogl-defines.h @@ -478,6 +478,8 @@ typedef GLuint COGLuint; #define CGL_OBJECT_COMPILE_STATUS 0 #endif +#define CLUTTER_COGL_HAS_GLES 1 + G_END_DECLS #endif