Mesa (master): glx: #ifdef DRI specific prototype

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Jul 20 11:44:51 UTC 2010


Module: Mesa
Branch: master
Commit: c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Tue Jul 20 07:43:50 2010 -0400

glx: #ifdef DRI specific prototype

https://bugs.freedesktop.org/show_bug.cgi?id=29162

---

 src/glx/glxclient.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 31d2beb..f788b7a 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 *);
 




More information about the mesa-commit mailing list