[vlc-devel] [PATCH] Direct3D shader support (HLSL)

xxcv xxcv07 at gmail.com
Tue Aug 17 00:05:18 CEST 2010


On 17/08/2010 7:07 AM, Sasha Koruga wrote:
> Hi Fenrir,
>>> @@ -44,8 +45,16 @@
>>>   #include<windows.h>
>>>   #include<d3d9.h>
>>> +#include<d3dx9.h>
>>>   #include "common.h"
>>> +#include "hlsl.h"
>>> +
>>> +#define D3DXFX_NOT_CLONEABLE    (1<<  11)
>>> +#endif
>>   Why is it defined here and not in a relevent header?
> Read xxdc's response. I'm using the original dx header, and thus I
> didn't have an issue. However, the mingw-64 or whatnot headers are
> missing the defines. xxdc already petitioned for them to add that, and
> once they do, that line of code can be removed.
I have only asked and probably requested on the #mingw-w64 channel, 
about the missing define in d3dx9effect.h.
However, this may not happen because of the Microsoft's header, values 
aren't magically happening.
This define is also not in the wine's d3dx9effect.h file, and I don't 
believe that it is in mingw's header set as well (I permanently dropped it).
So for the time been I'd suggest that you follow nefrir's advices by 
creating another header file. hmm.


My VLC, My Way, My Style~

More information about the vlc-devel mailing list