glx: Move GetGLXDRIDrawable() prototype to glxclient.h

This commit is contained in:
Kristian Høgsberg 2010-02-15 11:12:28 -05:00
parent aa0cd707af
commit 97ec6076f5
3 changed files with 4 additions and 8 deletions

View 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)
{

View 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__ */

View 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
*