summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/mach64/mach64_screen.c
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@gmail.com>2004-06-03 01:56:07 +0000
committerJon Smirl <jonsmirl@gmail.com>2004-06-03 01:56:07 +0000
commitba3d643c49ce16f8dcddac56308588839c55bc87 (patch)
tree492d08e17c016a1eb6c92c51de1af6c663b35b72 /src/mesa/drivers/dri/mach64/mach64_screen.c
parent5b98ada88071a752b6000756949a1951183cdd0b (diff)
kill __driRegisterExtensions(), none of the functions did anything
Diffstat (limited to 'src/mesa/drivers/dri/mach64/mach64_screen.c')
-rw-r--r--src/mesa/drivers/dri/mach64/mach64_screen.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/mesa/drivers/dri/mach64/mach64_screen.c b/src/mesa/drivers/dri/mach64/mach64_screen.c
index 8ec10ea110..b11a1623da 100644
--- a/src/mesa/drivers/dri/mach64/mach64_screen.c
+++ b/src/mesa/drivers/dri/mach64/mach64_screen.c
@@ -443,32 +443,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,
.DestroyScreen = mach64DestroyScreen,