glx: Move GetGLXDRIDrawable() prototype to glxclient.h
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 15 Feb 2010 16:12:28 +0000 (11:12 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 16 Feb 2010 15:38:49 +0000 (10:38 -0500)
src/glx/glx_pbuffer.c
src/glx/glxclient.h
src/glx/glxcmds.c

index a0a02238b0036def1671ab868e0c11acfeed7fd6..4c122ba6ddc99c109b4414bfe0b468acecd1aaec 100644 (file)
@@ -186,10 +186,6 @@ DestroyPbuffer(Display * dpy, GLXDrawable drawable)
 
 
 #ifdef GLX_DIRECT_RENDERING
-extern __GLXDRIdrawable *GetGLXDRIDrawable(Display * dpy,
-                                           GLXDrawable drawable,
-                                           int *const scrn_num);
-
 static GLenum
 determineTextureTarget(const int *attribs, int numAttribs)
 {
index e0b286b68838e99bafac9c1705964e3180caa40f..f88e9fbcdedc284809c183e2aa7ef194d2b90980 100644 (file)
@@ -798,6 +798,10 @@ __driGetMscRateOML(__DRIdrawable * draw,
 /* So that dri2.c:DRI2WireToEvent() can access
  * glx_info->codes->first_event */
 XExtDisplayInfo *__glXFindDisplay (Display *dpy);
+
+extern __GLXDRIdrawable *
+GetGLXDRIDrawable(Display *dpy, GLXDrawable drawable, int *const scrn_num);
+
 #endif
 
 #endif /* !__GLX_client_h__ */
index c3be974ea913d9ef9aaee1a3eaa72dbd9a24f7db..da0dcf10df8a42f2011ef39d759d89383f435040 100644 (file)
@@ -105,10 +105,6 @@ GarbageCollectDRIDrawables(Display * dpy, __GLXscreenConfigs * sc)
    XSetErrorHandler(oldXErrorHandler);
 }
 
-extern __GLXDRIdrawable *GetGLXDRIDrawable(Display * dpy,
-                                           GLXDrawable drawable,
-                                           int *const scrn_num);
-
 /**
  * Get the __DRIdrawable for the drawable associated with a GLXContext
  *