diff options
author | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2007-10-08 16:13:26 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyu.z.wang@intel.com> | 2007-10-08 16:13:26 +0800 |
commit | fd97edb62463e50a1860290d54684a68d5490bdc (patch) | |
tree | 9bb896cb727f60d24d9a2dd1a74c568036204de7 /src/i915_hwmc.c | |
parent | 3a2b5222341b37322b788e329c2b9006dc14ecfd (diff) |
move some definition out of i915 specific header
Diffstat (limited to 'src/i915_hwmc.c')
-rw-r--r-- | src/i915_hwmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i915_hwmc.c b/src/i915_hwmc.c index 1e204ba2..e0446ba3 100644 --- a/src/i915_hwmc.c +++ b/src/i915_hwmc.c @@ -55,6 +55,7 @@ #include "xf86xvpriv.h" #endif +#define _INTEL_XVMC_SERVER_ #include "i830_hwmc.h" #include "i915_hwmc.h" @@ -830,7 +831,7 @@ static int I915XvMCPutImage(ScrnInfoPtr pScrn, short src_x, short src_y, if (pI830->XvMCEnabled) { if (FOURCC_XVMC == id) { switch (i915XvMCData->command) { - case I915_XVMC_COMMAND_DISPLAY: + case INTEL_XVMC_COMMAND_DISPLAY: if ((i915XvMCData->srfNo >= I915_XVMC_MAX_SURFACES) || !pXvMC->surfaces[i915XvMCData->srfNo] || !pXvMC->sfprivs[i915XvMCData->srfNo]) { |