From cd10af22240b9df7c264b15c483d8cc4505ee359 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Fri, 14 Nov 2008 20:36:09 -0200 Subject: Only compile smi_dga.c when xf86DiDGAInit is not available. Besides reducing driver size, this should make DGA+EXA accelerated. --- src/smi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/smi.h') diff --git a/src/smi.h b/src/smi.h index 66d28df..76de956 100644 --- a/src/smi.h +++ b/src/smi.h @@ -390,8 +390,10 @@ void SMI_LoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies, xf86MonPtr SMI_ddc1(ScrnInfoPtr pScrn); void SMI_PrintRegs(ScrnInfoPtr pScrn); +#ifndef HAVE_XMODES /* smi_dga.c */ Bool SMI_DGAInit(ScreenPtr pScrn); +#endif /* smi_video.c */ void SMI_InitVideo(ScreenPtr pScreen); -- cgit v1.2.3