d3dx9effect.h; Errors in h files are bugs?

Maarten Lankhorst m.b.lankhorst at gmail.com
Sat May 29 04:18:16 CDT 2010


Hoi,

2010/5/29 Luis Busquets <luis.busquets at ilidium.com>:
> winehq in include/d3dx9effect.h adds in the definition of
> ID3DXEffectCompiler
> the methods:
>
> STDMETHOD(SetPixelShader)(THIS_ D3DXHANDLE parameter, LPDIRECT3DPIXELSHADER9
> pshader) PURE;
>
>  STDMETHOD(SetVertexShader)(THIS_ D3DXHANDLE parameter,
> LPDIRECT3DVERTEXSHADER9 vshader) PURE;
>
>
> None of this methods is part of ID3DXBaseEffect (the group of the methods
> ID3DXEffectCompiler in which they are set) and none is part of the specific
> methods of ID3DXEffectCompiler
>
> Thus, these two methods should be removed from the .h file?
It seems at least at one point, they were there:
http://msdn.microsoft.com/en-us/library/ee416589%28VS.85%29.aspx

I'm not sure if they completely removed it, or just no-opped it in the
vtable, might want to dig in the dx sdk for that.

Cheers,
Maarten



More information about the wine-devel mailing list