summaryrefslogtreecommitdiff
path: root/driver/xf86-video-openchrome/src/via_priv.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2012-11-11 21:34:16 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2012-11-11 21:34:16 +0000
commit968aa0484af82695d00d90190a06367843f7c16f (patch)
treea010f9e295325a1092a4e98f7ba7563281f970d5 /driver/xf86-video-openchrome/src/via_priv.h
parentac98071c55b1f3e9283d36052e328c9bf8d0d1a2 (diff)
Patch the driver a bit more, to be able to build without XAA.
Diffstat (limited to 'driver/xf86-video-openchrome/src/via_priv.h')
-rw-r--r--driver/xf86-video-openchrome/src/via_priv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver/xf86-video-openchrome/src/via_priv.h b/driver/xf86-video-openchrome/src/via_priv.h
index 6451307e4..5090f09ec 100644
--- a/driver/xf86-video-openchrome/src/via_priv.h
+++ b/driver/xf86-video-openchrome/src/via_priv.h
@@ -144,7 +144,9 @@ typedef struct {
drm_via_mem_t drm; /* DRM management object */
#endif
void *pVia; /* VIA driver pointer */
+#ifdef USE_XAA
FBLinearPtr linear; /* X linear pool info ptr */
+#endif
ExaOffscreenArea *exa;
ScrnInfoPtr pScrn;
} VIAMem;
@@ -172,7 +174,9 @@ typedef struct {
OVERLAYRECORD overlayRecordV3;
BoxRec AvailFBArea;
+#ifdef USE_XAA
FBLinearPtr SWOVlinear;
+#endif
Bool MPEG_ON;
Bool SWVideo_ON;