Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ACGL
acgl
Commits
d18b216c
Commit
d18b216c
authored
Oct 07, 2015
by
Robert Menzel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
file:///data/git-repository/acgl/libraries/acgl
parents
bdf1bbd3
2a13f016
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
src/ACGL/OpenGL/Tools.cc
src/ACGL/OpenGL/Tools.cc
+4
-0
No files found.
src/ACGL/OpenGL/Tools.cc
View file @
d18b216c
...
...
@@ -148,6 +148,10 @@ uint32_t privateGetOpenGLVersion( int _type )
const
GLubyte
*
versionString
;
versionString
=
glGetString
(
GL_VERSION
);
if
(
versionString
==
NULL
)
{
ACGL
::
Utils
::
error
()
<<
"cannot get OpenGL version"
<<
std
::
endl
;
return
0
;
}
int
positionOfFirstDot
=
0
;
while
((
versionString
[
positionOfFirstDot
]
!=
'\0'
)
&&
(
versionString
[
positionOfFirstDot
]
!=
'.'
))
++
positionOfFirstDot
;
...
...
Write
Preview
Markdown
is supported
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