Le Sunday 09 March 2008 18:35:16 tony.wasserka@freenet.de, 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 it is done like that atm, you should fix that an you patch) so you'll have to write two versions of each. Our plan for implementing d3dx was to keep any d3dx code away from wined3d, so you don't have to change anything about that. So basically all you have to do is (1) implement the d3dx8 version of each function (2) add them to the d3dx8 specfile (3) implement the d3dx9_36 version of each function (3) correct the d3dx9_36 specfile (i.e. remove the forwarding to d3dx8)
The d3dx9_24 to 35 dlls forward their calls to d3dx9_36, so they are okay, too.
Tony
Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl. http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/i ndex.html
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.
___________________________________________________________________________ Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire. http://fr.mail.yahoo.com
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 the dependency on the external libraries
Stefan Dösinger stefan@codeweavers.com 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 use GDI functions here, and GDI in turn alredy has the dependency on the external libraries Yes, but that would be very incomplete. GDI has only limited support for PNG and JPG files, and doesn't handle TGA at all.
Though this will be useful for DIBs, DDS and BMPs.
--------------------------------- Envoyé avec Yahoo! Mail. Une boite mail plus intelligente.
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 tell the devel list that the build dependencies have changed. It makes it much easier on package maintainers who otherwise wouldn't know to build with the libraries that make your code actually run ;)
Thanks, Scott Ritchie