summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-10-16 11:32:15 +0000
committerBrian Paul <[email protected]>1999-10-16 11:32:15 +0000
commitd95e2eb1a83db2a1c7e2f7850e9e0d02cb7fe2c8 (patch)
tree7e0dc12ef541bc2243d2dec122d5aba2db430004
parentb80429e49ef62686792e2f95c8f52b5e6c8a59a9 (diff)
removed GL_EXT_get_proc_address
-rw-r--r--src/mesa/drivers/x11/fakeglx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/fakeglx.c b/src/mesa/drivers/x11/fakeglx.c
index c3334e78fe9..466fa0509a0 100644
--- a/src/mesa/drivers/x11/fakeglx.c
+++ b/src/mesa/drivers/x11/fakeglx.c
@@ -1,4 +1,4 @@
-/* $Id: fakeglx.c,v 1.10 1999/10/14 18:47:37 brianp Exp $ */
+/* $Id: fakeglx.c,v 1.11 1999/10/16 11:32:15 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -1538,6 +1538,11 @@ void (*Fake_glXGetProcAddress( const GLubyte *procName ))()
GLuint i;
/* First, look for core library functions */
+ GLfunction f = (GLfunction) gl_get_proc_address(procName);
+ if (f)
+ return f;
+
+ /* Second, look for GLX funtion */
for (i = 0; procTable[i].address; i++) {
if (strcmp((const char *) procName, procTable[i].name) == 0)
return (GLfunction) procTable[i].address;