diff options
Diffstat (limited to 'xc/lib/GL/glx/glxcmds.c')
-rw-r--r-- | xc/lib/GL/glx/glxcmds.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xc/lib/GL/glx/glxcmds.c b/xc/lib/GL/glx/glxcmds.c index 50d361ed0..2713fd03d 100644 --- a/xc/lib/GL/glx/glxcmds.c +++ b/xc/lib/GL/glx/glxcmds.c @@ -1683,7 +1683,7 @@ Display *glXGetCurrentDisplay(void) } GLX_ALIAS(Display *, glXGetCurrentDisplayEXT, (void), (), - glXGetCurrentDisplay); + glXGetCurrentDisplay) /** * Used internally by libGL to send \c xGLXQueryContextinfoExtReq requests @@ -2024,7 +2024,7 @@ void GLX_PREFIX(glXSelectEvent)(Display *dpy, GLXDrawable drawable, unsigned lon */ GLX_ALIAS(GLXDrawable, glXGetCurrentReadDrawableSGI, (void), (), - glXGetCurrentReadDrawable); + glXGetCurrentReadDrawable) /* @@ -2352,17 +2352,17 @@ void GLX_PREFIX(glXDestroyGLXVideoSourceSGIX)(Display *dpy, GLXVideoSourceSGIX s GLX_ALIAS(int, glXGetFBConfigAttribSGIX, (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value), (dpy, config, attribute, value), - glXGetFBConfigAttrib); + glXGetFBConfigAttrib) GLX_ALIAS(GLXFBConfigSGIX *, glXChooseFBConfigSGIX, (Display *dpy, int screen, int *attrib_list, int *nelements), (dpy, screen, attrib_list, nelements), - glXChooseFBConfig); + glXChooseFBConfig) GLX_ALIAS(XVisualInfo *, glXGetVisualFromFBConfigSGIX, (Display * dpy, GLXFBConfigSGIX config), (dpy, config), - glXGetVisualFromFBConfig); + glXGetVisualFromFBConfig) GLXPixmap GLX_PREFIX(glXCreateGLXPixmapWithConfigSGIX)(Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap) { @@ -3256,7 +3256,7 @@ void (*glXGetProcAddressARB(const GLubyte *procName))( void ) * \sa glXGetProcAddressARB */ void (*glXGetProcAddress(const GLubyte *procName))( void ) -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(GLX_ALIAS_UNSUPPORTED) __attribute__ ((alias ("glXGetProcAddressARB"))); #else { |