1
0
Fork 0

[cogl] Add COGL_HAS_GL and COGL_HAS_GLES

Cogl already add similar defines but with the CLUTTER namespace
(CLUTTER_COGL_HAS_GL and CLUTTER_COGL_HAS_GLES). Let's just add two
similar defines with the COGL namespace. Removing the CLUTTER_COGL ones
could break applications silently for no real good reason.
This commit is contained in:
Damien Lespiau 2009-06-25 16:06:41 +02:00
parent 5d437281ec
commit efc5c4f0e5
2 changed files with 2 additions and 0 deletions

View file

@ -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 */

View file

@ -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