Re: [5/8] d3dx9: Add DDS support in D3DXCreateTextureFromFile functions.

2012-05-10 Thread Matteo Bruni
2012/5/10 Józef Kucia : > > I noticed that I put more and more texture functions tests in > tests/surface.c, because these tests needs the dds files which are in > tests/surface.c. I wonder if it would be better to copy needed dds > files to tests/texture.c and move texture function tests to their

Re: [5/8] d3dx9: Add DDS support in D3DXCreateTextureFromFile functions.

2012-05-10 Thread Józef Kucia
On Wed, May 9, 2012 at 11:32 PM, Józef Kucia wrote: > diff --git a/dlls/d3dx9_36/tests/surface.c b/dlls/d3dx9_36/tests/surface.c > index ab56593..3d5a50f 100644 > --- a/dlls/d3dx9_36/tests/surface.c > +++ b/dlls/d3dx9_36/tests/surface.c > @@ -917,6 +917,20 @@ static void > test_D3DXCreateVolumeTe

Re: [5/8] d3dx9: Add DDS support in D3DXCreateTextureFromFile functions.

2012-05-10 Thread Józef Kucia
On Thu, May 10, 2012 at 4:29 PM, Matteo Bruni wrote: > 2012/5/9 Józef Kucia : >> --- >> +HRESULT load_texture_from_dds(IDirect3DTexture9 *texture, const void >> *src_data, UINT srd_data_size, >> +    const PALETTEENTRY *palette, DWORD filter, D3DCOLOR color_key, const >> D3DXIMAGE_INFO *src_info

Re: [5/8] d3dx9: Add DDS support in D3DXCreateTextureFromFile functions.

2012-05-10 Thread Matteo Bruni
2012/5/9 Józef Kucia : > --- > +HRESULT load_texture_from_dds(IDirect3DTexture9 *texture, const void > *src_data, UINT srd_data_size, > +    const PALETTEENTRY *palette, DWORD filter, D3DCOLOR color_key, const > D3DXIMAGE_INFO *src_info) DECLSPEC_HIDDEN; ... > +HRESULT load_texture_from_dds(IDire