Check the definition instead of the extension to which it belongs

Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
This commit is contained in:
Nicolas Caramelli
2020-11-27 08:52:17 +01:00
committed by Matt Turner
parent a172e0aec8
commit fd96664b2a

View File

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