mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-04-16 05:42:09 +00:00
added GL 1.5 branch is version test
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@194 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
a65f4fd25f
commit
ee594df90a
@ -64,6 +64,13 @@ static GLuint _glewInit ()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (s[3] >= '5')
|
||||||
|
{
|
||||||
|
GLEW_VERSION_1_1 = GL_TRUE;
|
||||||
|
GLEW_VERSION_1_2 = GL_TRUE;
|
||||||
|
GLEW_VERSION_1_3 = GL_TRUE;
|
||||||
|
GLEW_VERSION_1_4 = GL_TRUE;
|
||||||
|
}
|
||||||
if (s[2] == '4')
|
if (s[2] == '4')
|
||||||
{
|
{
|
||||||
GLEW_VERSION_1_1 = GL_TRUE;
|
GLEW_VERSION_1_1 = GL_TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user