diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-19 16:22:29 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-19 16:22:29 -0200 |
commit | 2057d7ae05ef269f75a4d53fe5c4914a10856cb1 (patch) | |
tree | 38bd6a1aaa73018dbad73fc82adb13e526b087aa /src | |
parent | c2e318eaec3ac281457acdca4ea10fa368f646d3 (diff) |
Declare DGA fields only when not using xf86DiDGAInit.
Diffstat (limited to 'src')
-rw-r--r-- | src/smi.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |