diff options
author | Kristian Høgsberg <[email protected]> | 2010-07-20 07:43:50 -0400 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2010-07-20 07:43:50 -0400 |
commit | c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12 (patch) | |
tree | e3950fab0d1790dfabc17d723338f466dc7171af | |
parent | bd3d2724f51a44b7fc814a5bc43d8ddafa8e3cba (diff) |
glx: #ifdef DRI specific prototype
https://bugs.freedesktop.org/show_bug.cgi?id=29162
-rw-r--r-- | 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 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 *); |