[xserver-commit] xserver/hw/kdrive/ati ati_dri.c,1.5,1.6
Eric Anholt
xserver-commit@pdx.freedesktop.org
Sat, 24 Jan 2004 21:31:26 -0800
Committed by: anholt
Update of /cvs/xserver/xserver/hw/kdrive/ati
In directory pdx:/home/anholt/xserver/hw/kdrive/ati
Modified Files:
ati_dri.c
Log Message:
Disable GLX visuals code on !GLXEXT, and remove a useless prototype.
Index: ati_dri.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/ati/ati_dri.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ati_dri.c 25 Jan 2004 01:30:33 -0000 1.5
+++ ati_dri.c 25 Jan 2004 05:31:24 -0000 1.6
@@ -46,8 +46,7 @@
# define DRM_PAGE_SIZE 4096
#endif
-void XFree86DRIExtensionInit(void);
-
+#ifdef GLXEXT
/* Initialize the visual configs that are supported by the hardware.
* These are combined with the visual configs that the indirect
* rendering core supports, and the intersection is exported to the
@@ -212,6 +211,7 @@
GlxSetVisualConfigs(numConfigs, pConfigs, (void**)pATIConfigPtrs);
return TRUE;
}
+#endif /* GLXEXT */
static void
ATIDRIInitGARTValues(ScreenPtr pScreen)