Fix compiler warning when disable xvmc config

(cherry picked from commit df0bbdc7cbb6ff357a81ed28d12e56c9c7d643f7)
This commit is contained in:
Zhenyu Wang 2008-06-12 14:04:41 +08:00 committed by root
parent 078d058658
commit 66418cc99c
1 changed files with 2 additions and 0 deletions

View File

@ -2023,6 +2023,7 @@ I830CheckAvailableMemory(ScrnInfoPtr pScrn)
return maxPages * 4;
}
#ifdef INTEL_XVMC
/*
* Allocate memory for MC compensation
*/
@ -2044,3 +2045,4 @@ Bool i830_allocate_xvmc_buffer(ScrnInfoPtr pScrn, const char *name,
return TRUE;
}
#endif