mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 07:15:07 +00:00
glewGetErrorString for GLEW_ERROR_NO_GLX_DISPLAY (added in 2016)
This commit is contained in:
parent
767e031645
commit
ea2076658a
@ -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