Handbook
Glossary
framebuffer-error ( status -- * )
Vocabulary
opengl
.
framebuffers
Inputs
status
an
object
Outputs
None
Definition
USING:
combinators
kernel
opengl
opengl.gl
;
IN:
opengl.framebuffers
:
framebuffer-error
( status -- * )
{
{
GL_FRAMEBUFFER_COMPLETE
[
"framebuffer complete"
]
}
{
GL_FRAMEBUFFER_UNSUPPORTED
[
"framebuffer configuration unsupported"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
[
"framebuffer incomplete (incomplete attachment)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
[
"framebuffer incomplete (missing attachment)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
[
"framebuffer incomplete (dimension mismatch)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
[
"framebuffer incomplete (format mismatch)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
[
"framebuffer incomplete (draw buffer(s) have no attachment)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
[
"framebuffer incomplete (read buffer has no attachment)"
]
}
{
GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
[
"framebuffer incomplete (multisample counts don't match)"
]
}
[
drop
gl-error
"unknown framebuffer error"
]
}
case
throw
;