Handbook
Glossary
require-gl-version ( version -- )
Vocabulary
opengl
.
capabilities
Inputs
version
A version string
Outputs
None
Word description
Throws an exception if
has-gl-version?
returns false for
version
.
See also
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?
,
gl-version
,
glsl-version
,
gl-extensions
Definition
IN:
opengl.capabilities
:
require-gl-version
( version -- )
[
has-gl-version?
]
[
(make-gl-version-error)
]
(require-gl)
;