From: Kristian Høgsberg Date: Tue, 20 Jul 2010 11:43:50 +0000 (-0400) Subject: glx: #ifdef DRI specific prototype X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12;p=mesa.git glx: #ifdef DRI specific prototype https://bugs.freedesktop.org/show_bug.cgi?id=29162 --- 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 *);