Some questions about texture functions of d3dx8/9

Jérôme Gardou jgardou at
Sat Mar 15 12:38:54 CDT 2008

I'm trying to implement the D3DXGetImageInfoFrom* functions in d3dx8/9 dlls, 
and I have a few questions.

As there is no related source file from this kind of functions, I created 
texture.c within dlls/d3dx8. I guess this is the way you want it, but I'd 
like to hear it from you. 

Then I need libpng to handle this. I know that gdi32 has some (limited) 
support for this files, but I wasn't able to know how it was included in its 
code. A simple #include <png.h> doesn't work, as I expected. So I would like 
to know how wine build process handle third party libraries.

Then, I'd like to know what you think about the code attached here. Please 
don't forget that this is the very first time I make some code for wine !

-------------- next part --------------
A non-text attachment was scrubbed...
Name: textures.c
Type: text/x-csrc
Size: 5197 bytes
Desc: not available
Url : 

More information about the wine-devel mailing list