1gl_allocatecontext(3) Svgalib User Manual gl_allocatecontext(3)
2
3
4
6 gl_allocatecontext - allocate a graphics context
7
8
10 #include <vgagl.h>
11
12 GraphicsContext *gl_allocatecontext(void);
13
14
16 Allocate a graphics context. This is preferred to hardcoding a context
17 variable in a program since the latter is incompatible with a future
18 vgagl version that have additional context fields.
19
20
22 svgalib(7), vgagl(7), svgalib.conf(5), threedkit(7), testgl(1),
23 plane(1), wrapdemo(1), currentcontext(3), gl_allocatecontext(3),
24 gl_copyboxfromcontext(3), gl_copyboxtocontext(3), gl_getcontext(3),
25 gl_setcontext(3), gl_setcontextheight(3), gl_setcontextvga(3), gl_set‐
26 contextvgavirtual(3), gl_setcontextvirtual(3), gl_setcontextwidth(3).
27
28
30 This manual page was edited by Michael Weller <eowmob@exp-math.uni-
31 essen.de>. The exact source of the referenced demo as well as of the
32 original documentation is unknown.
33
34 It is very likely that both are at least to some extent are due to Harm
35 Hanemaayer <H.Hanemaayer@inter.nl.net>.
36
37 Occasionally this might be wrong. I hereby asked to be excused by the
38 original author and will happily accept any additions or corrections to
39 this first version of the svgalib manual.
40
41
42
43Svgalib (>= 1.2.11) 2 Aug 1997 gl_allocatecontext(3)