From 2057d7ae05ef269f75a4d53fe5c4914a10856cb1 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Wed, 19 Nov 2008 16:22:29 -0200 Subject: Declare DGA fields only when not using xf86DiDGAInit. --- src/smi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/smi.h b/src/smi.h index 0b23310..2ff687d 100644 --- a/src/smi.h +++ b/src/smi.h @@ -245,11 +245,13 @@ typedef struct as framebuffer */ PictTransformPtr renderTransform; +#ifndef XMODES /* DGA */ DGAModePtr DGAModes; /* Pointer to DGA modes */ int numDGAModes; /* Number of DGA modes */ Bool DGAactive; /* Flag if DGA is active */ int DGAViewportStatus; +#endif /* DPMS */ int CurrentDPMS; /* Current DPMS state */ -- cgit v1.2.3