hardware/intel/libva
修订版 | 39c8b4b326635eb560a8c25f2aee26dffaf44288 (tree) |
---|---|
时间 | 2009-05-15 12:51:32 |
作者 | root <root@Aust...> |
Commiter | root |
Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition
Signed-off-by: root <root@Austin-Develop.localdomain>
@@ -37,8 +37,13 @@ | ||
37 | 37 | #include <X11/extensions/extutil.h> |
38 | 38 | #include "xf86drm.h" |
39 | 39 | #include "va_dri2.h" |
40 | +#include "va_dri2tokens.h" | |
40 | 41 | #include "va_dri2str.h" |
41 | 42 | |
43 | +#ifndef DRI2DriverDRI | |
44 | +#define DRI2DriverDRI 0 | |
45 | +#endif | |
46 | + | |
42 | 47 | static char va_dri2ExtensionName[] = DRI2_NAME; |
43 | 48 | static XExtensionInfo _va_dri2_info_data; |
44 | 49 | static XExtensionInfo *va_dri2Info = &_va_dri2_info_data; |