Handbook
Glossary
(create-glx-pixmap) ( pixmap visual -- pixmap glx-pixmap )
Vocabulary
x11
.
windows
Inputs
pixmap
an
object
visual
an
object
Outputs
pixmap
an
object
glx-pixmap
an
object
Definition
USING:
kernel
namespaces
x11
x11.glx
;
IN:
x11.windows
:
(create-glx-pixmap)
( pixmap visual -- pixmap glx-pixmap )
[
drop
]
[
[
dpy
get
]
2dip
swap
glXCreateGLXPixmap
[
"Failed to create offscreen GLXPixmap"
throw
]
unless*
]
2bi
;