summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>1999-11-28 20:18:50 +0000
committerBrian Paul <[email protected]>1999-11-28 20:18:50 +0000
commite93842b6aa0e0ecb51ce39b8392a570815ae4358 (patch)
treeed58ec97460347ff37bc102b916f6614637d1883 /src/mesa/drivers/x11
parent36cfa38760cc2bd91c08b66bb62c4b6cf9eb5454 (diff)
added missing functions in GLX_functions[] array
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/glxapi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mesa/drivers/x11/glxapi.c b/src/mesa/drivers/x11/glxapi.c
index f64bc20bdef..9446775433a 100644
--- a/src/mesa/drivers/x11/glxapi.c
+++ b/src/mesa/drivers/x11/glxapi.c
@@ -1,4 +1,4 @@
-/* $Id: glxapi.c,v 1.8 1999/11/28 20:07:33 brianp Exp $ */
+/* $Id: glxapi.c,v 1.9 1999/11/28 20:18:50 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -720,6 +720,8 @@ static struct name_address_pair GLX_functions[] = {
{ "glXDestroyContext", (GLvoid *) glXDestroyContext },
{ "glXDestroyGLXPixmap", (GLvoid *) glXDestroyGLXPixmap },
{ "glXGetConfig", (GLvoid *) glXGetConfig },
+ { "glXGetCurrentContext", (GLvoid *) glXGetCurrentContext },
+ { "glXGetCurrentDrawable", (GLvoid *) glXGetCurrentDrawable },
{ "glXIsDirect", (GLvoid *) glXIsDirect },
{ "glXMakeCurrent", (GLvoid *) glXMakeCurrent },
{ "glXQueryExtension", (GLvoid *) glXQueryExtension },
@@ -736,7 +738,7 @@ static struct name_address_pair GLX_functions[] = {
#endif
#ifdef _GLXAPI_VERSION_1_2
- /*{ "glXGetCurrentDisplay", (GLvoid *) glXGetCurrentDisplay },*/
+ { "glXGetCurrentDisplay", (GLvoid *) glXGetCurrentDisplay },
#endif
#ifdef _GLXAPI_VERSION_1_3
@@ -748,6 +750,7 @@ static struct name_address_pair GLX_functions[] = {
{ "glXDestroyPbuffer", (GLvoid *) glXDestroyPbuffer },
{ "glXDestroyPixmap", (GLvoid *) glXDestroyPixmap },
{ "glXDestroyWindow", (GLvoid *) glXDestroyWindow },
+ { "glXGetCurrentReadDrawable", (GLvoid *) glXGetCurrentReadDrawable },
{ "glXGetFBConfigAttrib", (GLvoid *) glXGetFBConfigAttrib },
{ "glXGetSelectedEvent", (GLvoid *) glXGetSelectedEvent },
{ "glXGetVisualFromFBConfig", (GLvoid *) glXGetVisualFromFBConfig },