mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 13:55:07 +00:00
GLEW_VERSION_4_1 and related version detection, no API yet
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@614 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
043de344c2
commit
ef4156e01e
3
auto/core/GL_VERSION_4_1
Normal file
3
auto/core/GL_VERSION_4_1
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
GL_VERSION_4_1
|
||||||
|
http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf
|
||||||
|
|
@ -54,7 +54,8 @@ GLenum glewContextInit (GLEW_CONTEXT_ARG_DEF_LIST)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
CONST_CAST(GLEW_VERSION_4_0) = ( major > 4 ) || ( major == 4 ) ? GL_TRUE : GL_FALSE;
|
CONST_CAST(GLEW_VERSION_4_1) = ( major > 4 ) || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||||
|
CONST_CAST(GLEW_VERSION_4_0) = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
|
||||||
CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
CONST_CAST(GLEW_VERSION_3_3) = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
|
||||||
CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
CONST_CAST(GLEW_VERSION_3_2) = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
|
||||||
CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
CONST_CAST(GLEW_VERSION_3_1) = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user