From: Brian Paul Date: Sun, 28 Nov 1999 20:18:50 +0000 (+0000) Subject: added missing functions in GLX_functions[] array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e93842b6aa0e0ecb51ce39b8392a570815ae4358;p=mesa.git added missing functions in GLX_functions[] array --- 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 },