Re: Implementing a new Direct3D function

2008-03-25 Thread Scott Ritchie
Jérôme Gardou wrote: > OK, then I'll do this that way. > Also, d3dx9 provides support for multiple file format (PNG, TGA, BMP...). I > assume I'll have to add those dependencies in the build process. > > Just a friendly reminder, but when your patches get committed please do remember to

RE : Re: Implementing a new Direct3D function

2008-03-10 Thread Gardou Jérôme
Stefan Dösinger <[EMAIL PROTECTED]> a écrit : Am Sonntag, 9. März 2008 19:52:12 schrieb Jérôme Gardou: > Also, d3dx9 provides support for multiple file format (PNG, TGA, BMP...). I > assume I'll have to add those dependencies in the build process. As far as I know GDI handles them, so you can us

Re: Implementing a new Direct3D function

2008-03-10 Thread Stefan Dösinger
Am Sonntag, 9. März 2008 19:52:12 schrieb Jérôme Gardou: > Also, d3dx9 provides support for multiple file format (PNG, TGA, BMP...). I > assume I'll have to add those dependencies in the build process. As far as I know GDI handles them, so you can use GDI functions here, and GDI in turn alredy has

Re: Implementing a new Direct3D function

2008-03-09 Thread Jérôme Gardou
Le Sunday 09 March 2008 18:35:16 [EMAIL PROTECTED], vous avez écrit : > D3DXGetImageInfoFromFile takes the D3DXIMAGE_INFO structure as parameter, > which has changed between d3dx8 an dd3dx9_36 though. > This means you can't forward the D3DXGetImageInfoFromFile calls from d3dx9 > to d3dx8, (even if

Re: Implementing a new Direct3D function

2008-03-09 Thread Stefan Dösinger
Am Sonntag, 9. März 2008 11:48:08 schrieb Jérôme Gardou: > I'm trying to implement some direct3d functions, more precisely the > GetImageInfoFromFile* ones. > > These are present in directX 8 and in d3dx9_xx.dll > > I wondered what is the best way to do this : > 1)Implementing it in d3dx8.dll and f

Implementing a new Direct3D function

2008-03-09 Thread Jérôme Gardou
I'm trying to implement some direct3d functions, more precisely the GetImageInfoFromFile* ones. These are present in directX 8 and in d3dx9_xx.dll I wondered what is the best way to do this : 1)Implementing it in d3dx8.dll and forward everything to this one. 2) Make some useful functions in wine