summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128/r128_screen.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-04-29 12:23:39 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-04-29 12:23:39 +0000
commit74d563cdfbfb07cc666d60dc909e90ddb9949cbb (patch)
tree8f1f7b77465c03c9dcb6a4ae3937b278dc275bc0 /src/mesa/drivers/dri/r128/r128_screen.c
parentc35dcfcf0adb335a28fdb1503447655dbb809927 (diff)
Allow *_dri.so to build in Mesa tree with the 'linux-dri' target.
Diffstat (limited to 'src/mesa/drivers/dri/r128/r128_screen.c')
-rw-r--r--src/mesa/drivers/dri/r128/r128_screen.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_screen.c b/src/mesa/drivers/dri/r128/r128_screen.c
index f77c325db1..5825e95ef2 100644
--- a/src/mesa/drivers/dri/r128/r128_screen.c
+++ b/src/mesa/drivers/dri/r128/r128_screen.c
@@ -47,7 +47,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "vblank.h"
#ifndef _SOLO
-#include "glxextensions.h"
+#include "GL/internal/dri_interface.h"
#endif
/* R128 configuration
@@ -345,7 +345,12 @@ r128InitDriver( __DRIscreenPrivate *sPriv )
*/
void __driRegisterExtensions( void )
{
- PFNGLXENABLEEXTENSIONPROC glx_enable_extension;
+#if 0
+ /* KW: This is done slightly differently to the other drivers and
+ dri_interface.h doesn't seem to cope.
+ */
+ PFNGLXENABLEEXTENSIONPROC
+ glx_enable_extension;
if ( driCompareGLXAPIVersion( 20030317 ) >= 0 ) {
glx_enable_extension = (PFNGLXENABLEEXTENSIONPROC)
@@ -357,6 +362,7 @@ void __driRegisterExtensions( void )
glx_enable_extension( "GLX_MESA_swap_control", GL_FALSE );
}
}
+#endif
}
#endif