projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd42800
)
Don't reference GL_STACK_OVERFLOW/UNDERFLOW for GLES
author
Robert Bragg
<robert@linux.intel.com>
Wed, 2 Mar 2011 11:02:50 +0000
(11:02 +0000)
committer
Robert Bragg
<robert@linux.intel.com>
Thu, 5 May 2011 13:46:02 +0000
(14:46 +0100)
These symbols aren't available when building with GLES so only reference
them when building with OpenGL.
clutter/cogl/cogl/cogl.c
patch
|
blob
|
history
diff --git
a/clutter/cogl/cogl/cogl.c
b/clutter/cogl/cogl/cogl.c
index
69ed652
..
6592221
100644
(file)
--- a/
clutter/cogl/cogl/cogl.c
+++ b/
clutter/cogl/cogl/cogl.c
@@
-62,8
+62,10
@@
static const struct {
{ GL_INVALID_ENUM, "Invalid enumeration value" },
{ GL_INVALID_VALUE, "Invalid value" },
{ GL_INVALID_OPERATION, "Invalid operation" },
+#ifdef HAVE_COGL_GL
{ GL_STACK_OVERFLOW, "Stack overflow" },
{ GL_STACK_UNDERFLOW, "Stack underflow" },
+#endif
{ GL_OUT_OF_MEMORY, "Out of memory" },
#ifdef GL_INVALID_FRAMEBUFFER_OPERATION_EXT