Handbook
Glossary
gl-version ( -- version )
Vocabulary
opengl
.
capabilities
Inputs
None
Outputs
version
The version string from the OpenGL implementation
Word description
Wrapper for
GL_VERSION glGetString
that removes the vendor-specific information from the version string.
See also
require-gl-version
,
require-glsl-version
,
require-gl-extensions
,
require-gl-version-or-extensions
,
has-gl-version?
,
has-glsl-version?
,
has-gl-extensions?
,
has-gl-version-or-extensions?
,
glsl-version
,
gl-extensions
Definition
USING:
kernel
;
IN:
opengl.capabilities
:
gl-version
( -- version )
(gl-version)
drop
;