Implementing textures functions of d3dx using an extern library.
Jérôme Gardou
jerome.gardou at gmail.com
Thu Aug 28 17:40:12 CDT 2008
Henri Verbeet a écrit :
> 2008/8/28 Jérôme Gardou <jerome.gardou at gmail.com>:
>
>> D3DX supports a wide range of file types for textures. Instead of rewriting
>> everything from scratch, the best would certainly be to use some image
>> processing library to handle them. As a bonus, this would allow lighter
>> code.
>>
>>
> I'm not sure it would be worth it. The only non-trivial formats I see
> in D3DXIMAGE_FILEFORMAT are JPEG and PNG, and we already link to
> libjpeg and libpng in other parts of Wine.
>
If you want, I have an implementation of this same function for png...
This one is not commented at all, and need some rework. Get it for
comparison.
More information about the wine-devel
mailing list