Handbook
Glossary
gl-program-ok? ( program -- ? )
Vocabulary
opengl
.
shaders
Inputs
program
A
gl-program
object
Outputs
?
a
boolean
Word description
Returns a boolean value indicating whether the given program object linked successfully. Link errors and warnings are available in the program's info log, which can be gotten using
gl-program-info-log
.
Definition
USING:
alien.c-types
opengl.gl
;
IN:
opengl.shaders
:
gl-program-ok?
( program -- ? )
GL_LINK_STATUS
gl-program-get-int
c-bool>
;