Handbook
Glossary
check-framebuffer ( -- )
Vocabulary
opengl
.
framebuffers
Word description
Checks the framebuffer currently bound by
glBindFramebuffer
or
with-framebuffer
with
framebuffer-incomplete?
, and throws a descriptive error if the framebuffer is incomplete.
Definition
USING:
kernel
;
IN:
opengl.framebuffers
:
check-framebuffer
( -- )
framebuffer-incomplete?
[
framebuffer-error
]
when*
;