From d672f38709352da01b5a4a04a1777f3a40d09180 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 3 Jun 2004 23:30:33 +0000 Subject: Redo of removing __driRegisterExtensions(). I accidentally undid the previous check in. --- src/mesa/drivers/dri/mach64/mach64_screen.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/mesa/drivers/dri/mach64') diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.c b/src/mesa/drivers/dri/mach64/mach64_screen.c index b8115de811..ea4922eabe 100644 --- a/src/mesa/drivers/dri/mach64/mach64_screen.c +++ b/src/mesa/drivers/dri/mach64/mach64_screen.c @@ -426,31 +426,6 @@ mach64InitDriver( __DRIscreenPrivate *driScreen ) return GL_TRUE; } -#ifndef _SOLO -/* This function is called by libGL.so as soon as libGL.so is loaded. - * This is where we register new extension functions with the dispatcher. - */ -void __driRegisterExtensions( void ) -{ -#if 0 - /* KW: This is handled differently in the other drivers, not sure - * what to do here. - */ - PFNGLXENABLEEXTENSIONPROC glx_enable_extension; - - if ( driCompareGLXAPIVersion( 20030317 ) >= 0 ) { - glx_enable_extension = (PFNGLXENABLEEXTENSIONPROC) - glXGetProcAddress( (const GLubyte *) "__glXEnableExtension" ); - - if ( glx_enable_extension != NULL ) { - glx_enable_extension( "GLX_SGI_swap_control", GL_FALSE ); - glx_enable_extension( "GLX_SGI_video_sync", GL_FALSE ); - glx_enable_extension( "GLX_MESA_swap_control", GL_FALSE ); - } - } -#endif -} -#endif static struct __DriverAPIRec mach64API = { .InitDriver = mach64InitDriver, -- cgit v1.2.3