summaryrefslogtreecommitdiff
path: root/src/glut/glx/glut_glxext.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-12-14 11:40:14 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-07-11 20:03:29 +0100
commit6e3e00f037bae60bdf206aeacad91128de6f800e (patch)
tree8e988f4f3019ce52fef4bee162c24683bff1ca16 /src/glut/glx/glut_glxext.c
parente6f5a82520e0926bc0657430961823809a411e25 (diff)
downloadglut-6e3e00f037bae60bdf206aeacad91128de6f800e.tar.gz
s/glxGetProcAddress/glXGetProcAddressARB/
Diffstat (limited to 'src/glut/glx/glut_glxext.c')
-rw-r--r--src/glut/glx/glut_glxext.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut/glx/glut_glxext.c b/src/glut/glx/glut_glxext.c
index bb2eb47..71b67e0 100644
--- a/src/glut/glx/glut_glxext.c
+++ b/src/glut/glx/glut_glxext.c
@@ -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);