From c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 20 Jul 2010 07:43:50 -0400 Subject: [PATCH] glx: #ifdef DRI specific prototype https://bugs.freedesktop.org/show_bug.cgi?id=29162 --- src/glx/glxclient.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 31d2beb5d42..f788b7a28f4 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 *); -- 2.30.2