include: Fix prototypes of D3DXFillXXXTextureTx for d3dx9.

Matteo Bruni matteo.mystral at gmail.com
Mon Jul 25 18:27:20 CDT 2016


2016-07-21 11:06 GMT+02:00 Alistair Leslie-Hughes <leslie_alistair at hotmail.com>:

> -HRESULT WINAPI D3DXFillTextureTX(struct IDirect3DTexture9 *texture, const DWORD *function,
> -        const D3DXVECTOR4 *constants, UINT numconstants);
> -HRESULT WINAPI D3DXFillCubeTextureTX(struct IDirect3DCubeTexture9 *cube, const DWORD *function,
> -        const D3DXVECTOR4 *constants, UINT numconstants);
> -HRESULT WINAPI D3DXFillVolumeTextureTX(struct IDirect3DVolumeTexture9 *volume, const DWORD *function,
> -        const D3DXVECTOR4 *constants, UINT numconstants);
> +HRESULT WINAPI D3DXFillTextureTX(struct IDirect3DTexture9 *texture, ID3DXTextureShader *texture_shader);
> +HRESULT WINAPI D3DXFillCubeTextureTX(struct IDirect3DCubeTexture9 *cube, ID3DXTextureShader *texture_shader);
> +HRESULT WINAPI D3DXFillVolumeTextureTX(struct IDirect3DVolumeTexture9 *volume, ID3DXTextureShader *texture_shader);

Do you know where the old prototypes came from? In all the versions of
the header I have around (which go back to _30) I see the "new"
prototype but it's possible that it changed even further back.
It's also possible these have always been wrong, although that seems
somewhat unlikely to me.



More information about the wine-devel mailing list