瀏覽代碼

Workaround for yet another stupid bug in some kind of microsoft SDK

rdb 16 年之前
父節點
當前提交
87c8772066
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      panda/src/movies/webcamVideoDS.cxx

+ 2 - 1
panda/src/movies/webcamVideoDS.cxx

@@ -65,12 +65,13 @@
 // See "dxtrans.h missing in Microsoft DirectX SDK" at
 // See "dxtrans.h missing in Microsoft DirectX SDK" at
 // http://social.msdn.microsoft.com/forums/en-US/windowssdk/thread/ed097d2c-3d68-4f48-8448-277eaaf68252/ for example.
 // http://social.msdn.microsoft.com/forums/en-US/windowssdk/thread/ed097d2c-3d68-4f48-8448-277eaaf68252/ for example.
 // This header file is referenced only by qedit.h and not needed.
 // This header file is referenced only by qedit.h and not needed.
-// Solution:  add this pragma and these 4 defines before the qedit.h inclusion:
+// Solution:  add this pragma and these defines before the qedit.h inclusion:
 #pragma include_alias( "dxtrans.h", "qedit.h" )
 #pragma include_alias( "dxtrans.h", "qedit.h" )
 #define __IDxtCompositor_INTERFACE_DEFINED__
 #define __IDxtCompositor_INTERFACE_DEFINED__
 #define __IDxtAlphaSetter_INTERFACE_DEFINED__
 #define __IDxtAlphaSetter_INTERFACE_DEFINED__
 #define __IDxtJpeg_INTERFACE_DEFINED_
 #define __IDxtJpeg_INTERFACE_DEFINED_
 #define __IDxtKey_INTERFACE_DEFINED__
 #define __IDxtKey_INTERFACE_DEFINED__
+#define IDXEffect IUnknown
 #include <qedit.h>
 #include <qedit.h>
 #include <atlbase.h>
 #include <atlbase.h>