mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
glx: Move GetGLXDRIDrawable() prototype to glxclient.h
This commit is contained in:
parent
aa0cd707af
commit
97ec6076f5
3 changed files with 4 additions and 8 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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__ */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue