summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@hinata.boston.redhat.com>2007-05-17 15:33:14 -0400
committerKristian Høgsberg <krh@redhat.com>2007-10-11 11:25:37 -0400
commit594006d8b2960b9e49b57c02682289ae900ffc71 (patch)
treecc5f254d53ff574cc3e9622bc10e53bd46274de5 /src
parentf968f67e6214416f04b8875ce59a94a02f464c81 (diff)
Remove now unused getProcAddress from DRIinterfaceMethods.
Diffstat (limited to 'src')
-rw-r--r--src/glx/x11/glxext.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index 3db163af1e..580faec0d0 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -691,19 +691,6 @@ filter_modes( __GLcontextModes ** server_modes,
return modes_count;
}
-
-/**
- * Implement \c __DRIinterfaceMethods::getProcAddress.
- */
-static __DRIfuncPtr get_proc_address( const char * proc_name )
-{
- if (strcmp( proc_name, "glxEnableExtension" ) == 0) {
- return (__DRIfuncPtr) __glXScrEnableExtension;
- }
-
- return NULL;
-}
-
#ifdef XDAMAGE_1_1_INTERFACE
static GLboolean has_damage_post(Display *dpy)
{
@@ -798,8 +785,6 @@ __glXDRIGetDrawableInfo(__DRIdrawable *drawable,
* Table of functions exported by the loader to the driver.
*/
static const __DRIinterfaceMethods interface_methods = {
- get_proc_address,
-
_gl_context_modes_create,
_gl_context_modes_destroy,