summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-19 16:22:29 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-11-19 16:22:29 -0200
commit2057d7ae05ef269f75a4d53fe5c4914a10856cb1 (patch)
tree38bd6a1aaa73018dbad73fc82adb13e526b087aa
parentc2e318eaec3ac281457acdca4ea10fa368f646d3 (diff)
Declare DGA fields only when not using xf86DiDGAInit.
-rw-r--r--src/smi.h2
1 files changed, 2 insertions, 0 deletions
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 */