summaryrefslogtreecommitdiff
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 31d2beb5d4..f788b7a28f 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -614,8 +614,10 @@ extern int
glx_screen_init(__GLXscreenConfigs *psc,
int screen, __GLXdisplayPrivate * priv);
+#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
extern __GLXDRIdrawable *
dri2GetGlxDrawableFromXDrawableId(Display *dpy, XID id);
+#endif
extern GLubyte *__glXFlushRenderBuffer(__GLXcontext *, GLubyte *);