d3d9_36: partially implement D3DXCreateTextureFromFile

2008-03-24 Thread tony . wasserka
> Hello > > 1) use 4 spaces instead of tab in > > d3dx9_36_main.c > font.c > - math.c > + math.c > +texture.c > > > 2) D3DXCreateTextureFromFileW(ptr wstr ptr) should be forwarded to its d3dx8 > counterpart and you implement it in d3dx8 dll > > > David No, tab

Re: [Fwd: d3dx8: Implement D3DXCreateTextureFromFile]

2008-02-04 Thread Luis C. Busquets Pérez
Why has this patch not been accepted? Luis C. Busquets Pérez escribió: > I have created a /dlls/d3dx8/texture.c file where to put all functions > related to textures and d3dx8. > > I have included D3DXIMAGE_FILEFORMAT in the patch because it is > referred by D3DXIMAGE_FILEFORMAT which is referre

Re: Implement D3DXCreateTextureFromFile

2008-01-28 Thread Francois Gouget
On Sun, 27 Jan 2008, Dmitry Timoshkov wrote: > "Luis C. Busquets Pérez" <[EMAIL PROTECTED]> wrote: > > > diff --git a/dlls/d3dx8/d3dx8_main.c b/dlls/d3dx8/d3dx8_main.c > > index c24aedc..931e6c1 100644 > > --- a/dlls/d3dx8/d3dx8_main.c > > +++ b/dlls/d3dx8/d3dx8_main.c > > @@ -32,6 +32,30 @@ > >

d3dx8: Implement D3DXCreateTextureFromFile functions in relation to the extended version - 3rd try

2008-01-27 Thread Luis C. Busquets Pérez
d3dx8tex.h with the mentioned name. I should be done now. Please send comments if not. --- dlls/d3dx8/Makefile.in |1 + dlls/d3dx8/d3dx8.spec |8 ++-- dlls/d3dx8/texture.c | 86 include/d3dx8.h|1 + include/d3dx8tex.h

d3dx8: Implement D3DXCreateTextureFromFile functions in relation to the extended version - 3rd try

2008-01-27 Thread Luis C. Busquets Pérez
d3dx8tex.h with the mentioned name. I should be done now. Please send comments if not. --- dlls/d3dx8/Makefile.in |1 + dlls/d3dx8/d3dx8.spec |8 ++-- dlls/d3dx8/texture.c | 86 include/d3dx8.h|1 + include/d3dx8tex.h

RE : [Fwd: d3dx8: Implement D3DXCreateTextureFromFile]

2008-01-27 Thread paulo lesgaz
The real file is d3dx8tex.h and not d3dx8texture.h. You need to use the same name as windows uses. David "Luis C. Busquets Pérez" <[EMAIL PROTECTED]> a écrit : I have created a /dlls/d3dx8/texture.c file where to put all functions related to textures and d3dx8. I have included D3DXIMAGE_FILE

[Fwd: d3dx8: Implement D3DXCreateTextureFromFile]

2008-01-27 Thread Luis C. Busquets Pérez
I have created a /dlls/d3dx8/texture.c file where to put all functions related to textures and d3dx8. I have included D3DXIMAGE_FILEFORMAT in the patch because it is referred by D3DXIMAGE_FILEFORMAT which is referred in the function. If not included, it would not compile. They both are now in

Re: d3dx8: Implement D3DXCreateTextureFromFile

2008-01-27 Thread Chris Robinson
On Sunday 27 January 2008 12:39:18 am Luis C. Busquets Pérez wrote: > +{ > +  FIXME("(void): stub\n"); > +  return D3D_OK; > +} You probably shouldn't return okay if you're not implementing the function. It's normal to return D3DERR_NOTIMPLEMENTED (or whatever it is). At the very least you don't

Re: Implement D3DXCreateTextureFromFile

2008-01-26 Thread Dmitry Timoshkov
"Luis C. Busquets Pérez" <[EMAIL PROTECTED]> wrote: > diff --git a/dlls/d3dx8/d3dx8_main.c b/dlls/d3dx8/d3dx8_main.c > index c24aedc..931e6c1 100644 > --- a/dlls/d3dx8/d3dx8_main.c > +++ b/dlls/d3dx8/d3dx8_main.c > @@ -32,6 +32,30 @@ > #include "wine/unicode.h" > #include "d3dx8_private.h" > > +ty