mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-12-03 11:57:06 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@58 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
ae7ff20752
commit
b7b9daef89
@ -3412,7 +3412,9 @@ static GLint _glxewInit ()
|
|||||||
|
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
|
||||||
static char _glewErrorString[6][40] =
|
const char* glewGetErrorString (GLint error)
|
||||||
|
{
|
||||||
|
static const char* _glewErrorString[] =
|
||||||
{
|
{
|
||||||
"no error",
|
"no error",
|
||||||
"missing GL version",
|
"missing GL version",
|
||||||
@ -3421,9 +3423,6 @@ static char _glewErrorString[6][40] =
|
|||||||
"GLX 1.2 and up are not supported",
|
"GLX 1.2 and up are not supported",
|
||||||
"unknown error"
|
"unknown error"
|
||||||
};
|
};
|
||||||
|
|
||||||
const char* glewGetErrorString (GLint error)
|
|
||||||
{
|
|
||||||
if (error > 5) error = 5;
|
if (error > 5) error = 5;
|
||||||
return _glewErrorString[error];
|
return _glewErrorString[error];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user