d3d9_36: partially implement D3DXCreateTextureFromFile

tony.wasserka at freenet.de tony.wasserka at freenet.de
Mon Mar 24 07:56:26 CDT 2008


> Hello
> 
> 1) use 4 spaces instead of tab in
> 
>  	d3dx9_36_main.c 
>  	font.c 
> -	math.c
> +	math.c 
> +        texture.c
> 
> 
> 2) D3DXCreateTextureFromFileW(ptr wstr ptr) should be forwarded to its d3dx8 counterpart and you implement it in d3dx8 dll
> 
> 
> David

No, tabs are okay in Makefile.in (every dll is using tabs there). Also, the first parameter of D3DXCreateTextureFromFile is an LPDIRECT3DDEVICE8 in d3dx8 and an LPDIRECT3DDEVICE9 in d3dx9, i.e. this call can't be forwarded.
However, you should probably call D3DXCreateTextureFromFileEx here to prevent duplicated code. If you're going to implement that function, too, you may need to stub D3DXFilterTexture (just from looking at the parameter list of the extended function, not sure if you REALLY need to do so).

    Tony




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html




More information about the wine-devel mailing list