Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Maik Froechtenicht
glew
Commits
2af38d87
Commit
2af38d87
authored
Dec 02, 2017
by
Nigel Stewart
Browse files
Fixup for GLEW_VERSION_4_5 version detection
parent
871bb660
Changes
1
Hide whitespace changes
Inline
Side-by-side
auto/src/glew_init_gl.c
View file @
2af38d87
...
...
@@ -110,7 +110,7 @@ static GLenum GLEWAPIENTRY glewContextInit ()
else
{
GLEW_VERSION_4_6
=
(
major
>
4
)
||
(
major
==
4
&&
minor
>=
6
)
?
GL_TRUE
:
GL_FALSE
;
GLEW_VERSION_4_5
=
GLEW_VERSION_4_
4
==
GL_TRUE
||
(
major
==
4
&&
minor
>=
5
)
?
GL_TRUE
:
GL_FALSE
;
GLEW_VERSION_4_5
=
GLEW_VERSION_4_
6
==
GL_TRUE
||
(
major
==
4
&&
minor
>=
5
)
?
GL_TRUE
:
GL_FALSE
;
GLEW_VERSION_4_4
=
GLEW_VERSION_4_5
==
GL_TRUE
||
(
major
==
4
&&
minor
>=
4
)
?
GL_TRUE
:
GL_FALSE
;
GLEW_VERSION_4_3
=
GLEW_VERSION_4_4
==
GL_TRUE
||
(
major
==
4
&&
minor
>=
3
)
?
GL_TRUE
:
GL_FALSE
;
GLEW_VERSION_4_2
=
GLEW_VERSION_4_3
==
GL_TRUE
||
(
major
==
4
&&
minor
>=
2
)
?
GL_TRUE
:
GL_FALSE
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment