Handbook
Glossary
has-gl-version? ( version -- ? )
Vocabulary
opengl
.
capabilities
Inputs
version
A version string
Outputs
?
a
boolean
Word description
Compares the version string returned by
gl-version
to
version
. Returns true if the implementation version meets or exceeds
version
.
See also
require-gl-version
,
require-glsl-version
,
require-gl-extensions
,
require-gl-version-or-extensions
,
has-glsl-version?
,
has-gl-extensions?
,
has-gl-version-or-extensions?
,
gl-version
,
glsl-version
,
gl-extensions
Definition
USING:
kernel
;
IN:
opengl.capabilities
:
has-gl-version?
( version -- ? )
gl-version
[
version-before?
]
[
drop
f
]
if*
;