From 87c87720661d768fb9be572cce5232bb85498c3a Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 16 Jul 2009 08:08:49 +0000 Subject: [PATCH] Workaround for yet another stupid bug in some kind of microsoft SDK --- panda/src/movies/webcamVideoDS.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/movies/webcamVideoDS.cxx b/panda/src/movies/webcamVideoDS.cxx index b865ca11e0..5a8613f42c 100644 --- a/panda/src/movies/webcamVideoDS.cxx +++ b/panda/src/movies/webcamVideoDS.cxx @@ -65,12 +65,13 @@ // 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. // 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" ) #define __IDxtCompositor_INTERFACE_DEFINED__ #define __IDxtAlphaSetter_INTERFACE_DEFINED__ #define __IDxtJpeg_INTERFACE_DEFINED_ #define __IDxtKey_INTERFACE_DEFINED__ +#define IDXEffect IUnknown #include #include