mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 00:21:57 +00:00
Generate Sources of master updated at Sat Oct 5 09:11:53 GMT 2019
This commit is contained in:
parent
59c63684ee
commit
5a59fc7d94
@ -17966,7 +17966,6 @@ static GLenum GLEWAPIENTRY glewContextInit ()
|
|||||||
const GLubyte* s;
|
const GLubyte* s;
|
||||||
GLuint dot;
|
GLuint dot;
|
||||||
GLint major, minor;
|
GLint major, minor;
|
||||||
size_t n;
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
getString = glGetString;
|
getString = glGetString;
|
||||||
@ -18017,8 +18016,11 @@ static GLenum GLEWAPIENTRY glewContextInit ()
|
|||||||
GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (n = 0; n < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++n)
|
{
|
||||||
_glewExtensionString[n] = GL_FALSE;
|
size_t i;
|
||||||
|
for (i = 0; i < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++i)
|
||||||
|
_glewExtensionString[i] = GL_FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
if (GLEW_VERSION_3_0)
|
if (GLEW_VERSION_3_0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user