• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/libva


Commit MetaInfo

修订版39c8b4b326635eb560a8c25f2aee26dffaf44288 (tree)
时间2009-05-15 12:51:32
作者root <root@Aust...>
Commiterroot

Log Message

Make libva pass compilation with old DRI2 proto which dri2tokens.h hasn't DRI2DriverDRI definition

Signed-off-by: root <root@Austin-Develop.localdomain>

更改概述

差异

--- a/src/X11/va_dri2.c
+++ b/src/X11/va_dri2.c
@@ -37,8 +37,13 @@
3737 #include <X11/extensions/extutil.h>
3838 #include "xf86drm.h"
3939 #include "va_dri2.h"
40+#include "va_dri2tokens.h"
4041 #include "va_dri2str.h"
4142
43+#ifndef DRI2DriverDRI
44+#define DRI2DriverDRI 0
45+#endif
46+
4247 static char va_dri2ExtensionName[] = DRI2_NAME;
4348 static XExtensionInfo _va_dri2_info_data;
4449 static XExtensionInfo *va_dri2Info = &_va_dri2_info_data;