diff options
Diffstat (limited to 'progs/xdemos/pbutil.h')
-rw-r--r-- | progs/xdemos/pbutil.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/progs/xdemos/pbutil.h b/progs/xdemos/pbutil.h index e877f20625..e95b2565a2 100644 --- a/progs/xdemos/pbutil.h +++ b/progs/xdemos/pbutil.h @@ -46,6 +46,14 @@ extern XVisualInfo * GetVisualFromFBConfig(Display *dpy, int screen, FBCONFIG config); +extern GLXContext +CreateContext(Display *dpy, int screen, FBCONFIG config); + + +extern void +DestroyContext(Display *dpy, GLXContext ctx); + + extern PBUFFER CreatePbuffer(Display *dpy, int screen, FBCONFIG config, int width, int height, Bool preserve, Bool largest); |