mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 06:45:07 +00:00
glewGetErrorString for GLEW_ERROR_NO_GLX_DISPLAY (added in 2016)
This commit is contained in:
parent
80e061f85d
commit
9eee75b61c
@ -8,6 +8,7 @@ const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)
|
|||||||
(const GLubyte*)"Missing GL version",
|
(const GLubyte*)"Missing GL version",
|
||||||
(const GLubyte*)"GL 1.1 and up are not supported",
|
(const GLubyte*)"GL 1.1 and up are not supported",
|
||||||
(const GLubyte*)"GLX 1.2 and up are not supported",
|
(const GLubyte*)"GLX 1.2 and up are not supported",
|
||||||
|
(const GLubyte*)"No GLX display",
|
||||||
(const GLubyte*)"Unknown error"
|
(const GLubyte*)"Unknown error"
|
||||||
};
|
};
|
||||||
const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
|
const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user