mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
Don't reference GL_STACK_OVERFLOW/UNDERFLOW for GLES
These symbols aren't available when building with GLES so only reference them when building with OpenGL.
This commit is contained in:
parent
31ee65784d
commit
ce2da79440
@ -62,8 +62,10 @@ static const struct {
|
|||||||
{ GL_INVALID_ENUM, "Invalid enumeration value" },
|
{ GL_INVALID_ENUM, "Invalid enumeration value" },
|
||||||
{ GL_INVALID_VALUE, "Invalid value" },
|
{ GL_INVALID_VALUE, "Invalid value" },
|
||||||
{ GL_INVALID_OPERATION, "Invalid operation" },
|
{ GL_INVALID_OPERATION, "Invalid operation" },
|
||||||
|
#ifdef HAVE_COGL_GL
|
||||||
{ GL_STACK_OVERFLOW, "Stack overflow" },
|
{ GL_STACK_OVERFLOW, "Stack overflow" },
|
||||||
{ GL_STACK_UNDERFLOW, "Stack underflow" },
|
{ GL_STACK_UNDERFLOW, "Stack underflow" },
|
||||||
|
#endif
|
||||||
{ GL_OUT_OF_MEMORY, "Out of memory" },
|
{ GL_OUT_OF_MEMORY, "Out of memory" },
|
||||||
|
|
||||||
#ifdef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
|
#ifdef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
|
||||||
|
Loading…
Reference in New Issue
Block a user