diff options
author | Nicolas Caramelli <caramelli.devel@gmail.com> | 2020-11-27 08:52:17 +0100 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2021-06-24 14:23:16 -0700 |
commit | fd96664b2a67d1c7248639aff8f30e043ac07490 (patch) | |
tree | 645988bda7ea74198212d48555c12a2b797ca25e | |
parent | a172e0aec8f537f365078dab5486cae9c9a6880e (diff) | |
download | glu-fd96664b2a67d1c7248639aff8f30e043ac07490.tar.gz |
Check the definition instead of the extension to which it belongs
Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
-rw-r--r-- | src/libutil/error.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libutil/error.c b/src/libutil/error.c index d3b2666..1df9a06 100644 --- a/src/libutil/error.c +++ b/src/libutil/error.c @@ -48,8 +48,10 @@ static const struct token_string Errors[] = { { GL_STACK_OVERFLOW, "stack overflow" }, { GL_STACK_UNDERFLOW, "stack underflow" }, { GL_OUT_OF_MEMORY, "out of memory" }, +#ifdef GL_TABLE_TOO_LARGE { GL_TABLE_TOO_LARGE, "table too large" }, -#ifdef GL_EXT_framebuffer_object +#endif +#ifdef GL_INVALID_FRAMEBUFFER_OPERATION_EXT { GL_INVALID_FRAMEBUFFER_OPERATION_EXT, "invalid framebuffer operation" }, #endif /* GLU */ |