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 /include/d3dx8.h whci I think is the appropiate file. Do you propose to put them elsewhere?
Do you think I am missing anything or is it ok?
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" luis.busquets@ilidium.com 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_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 /include/d3dx8.h whci I think is the appropiate file. Do you propose to put them elsewhere?
Do you think I am missing anything or is it ok?
--------------------------------- Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
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 referred in the function. If not included, it would not compile. They both are now in /include/d3dx8.h whci I think is the appropiate file. Do you propose to put them elsewhere?
Do you think I am missing anything or is it ok?