s/glxGetProcAddress/glXGetProcAddressARB/

This commit is contained in:
Brian Paul 2001-12-14 11:40:14 +00:00
parent eaf0eac7d3
commit 1668d4bab8
1 changed files with 3 additions and 3 deletions

View File

@ -188,7 +188,7 @@ __glut_glXCreateContextWithConfigSGIX(Display *dpy, GLXFBConfigSGIX config,
static glXCreateContextWithConfigSGIX_t glXCreateContextWithConfig_ptr = NULL;
if (!glXCreateContextWithConfig_ptr) {
glXCreateContextWithConfig_ptr = (glXCreateContextWithConfigSGIX_t)
glXGetProcAddress((const GLubyte *) "glXCreateContextWithConfigSGIX");
glXGetProcAddressARB((const GLubyte *) "glXCreateContextWithConfigSGIX");
}
if (glXCreateContextWithConfig_ptr)
return (*glXCreateContextWithConfig_ptr)(dpy, config, render_type,
@ -214,7 +214,7 @@ __glut_glXGetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config,
static glXGetFBConfigAttribSGIX_t glXGetFBConfigAttrib_ptr = NULL;
if (!glXGetFBConfigAttrib_ptr) {
glXGetFBConfigAttrib_ptr = (glXGetFBConfigAttribSGIX_t)
glXGetProcAddress((const GLubyte *) "glXGetFBConfigAttribSGIX");
glXGetProcAddressARB((const GLubyte *) "glXGetFBConfigAttribSGIX");
}
if (glXGetFBConfigAttrib_ptr)
return (*glXGetFBConfigAttrib_ptr)(dpy, config, attribute, value);
@ -237,7 +237,7 @@ __glut_glXGetFBConfigFromVisualSGIX(Display *dpy, XVisualInfo *vis)
static glXGetFBConfigFromVisualSGIX_t glXGetFBConfigFromVisual_ptr = NULL;
if (!glXGetFBConfigFromVisual_ptr) {
glXGetFBConfigFromVisual_ptr = (glXGetFBConfigFromVisualSGIX_t)
glXGetProcAddress((const GLubyte *) "glXGetFBConfigFromVisualSGIX");
glXGetProcAddressARB((const GLubyte *) "glXGetFBConfigFromVisualSGIX");
}
if (glXGetFBConfigFromVisual_ptr)
return (*glXGetFBConfigFromVisual_ptr)(dpy, vis);