summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 */