aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxclient.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-11 15:43:52 -0600
committerBrian Paul <[email protected]>2008-07-11 15:45:03 -0600
commitdf2c9424d3b625d6e97528c74051257bc5630a67 (patch)
tree76e8e002839840472d67f90d56b0a76f488eca21 /src/glx/x11/glxclient.h
parent7986baf7cf5434c0ff8210eedd0be366ab5e8f14 (diff)
glx: added __glXPreferEGL() to tell libGL to prefer "egl_" drivers over regular DRI drivers.
Also, clean-up, consolidate the dlopen() code a bit.
Diffstat (limited to 'src/glx/x11/glxclient.h')
-rw-r--r--src/glx/x11/glxclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/x11/glxclient.h b/src/glx/x11/glxclient.h
index 03e44e5d048..f9d076f56f8 100644
--- a/src/glx/x11/glxclient.h
+++ b/src/glx/x11/glxclient.h
@@ -541,6 +541,8 @@ extern void __glXSendLargeCommand(__GLXcontext *, const GLvoid *, GLint,
/* Initialize the GLX extension for dpy */
extern __GLXdisplayPrivate *__glXInitialize(Display*);
+extern void __glXPreferEGL(int state);
+
/************************************************************************/
extern int __glXDebug;