Re: d3dx9_36: Reckonize A8B8G8R8 format
Hi, Please add the format to the dds tests in dlls/d3dx9_36/tests/surface.c
{ 32, 0x0000ffff, 0xffff0000, 0x00000000, 0x00000000, D3DFMT_G16R16
},
+ { 32, 0xff, 0xff00, 0xff0000, 0xff000000, D3DFMT_A8B8G8R8 }, The other 32 bit formats in this table have their bitmasks padded to 32 bit with leading zeroes.
Stefan Am Freitag, 15. Juni 2012, 18:18:46 schrieb Nozomi Kodama: This patch solves the color problem appearing in bug 30786. Nozomi
Am Montag, 18. Juni 2012, 23:59:52 schrieb Stefan Dösinger:
Hi,
Please add the format to the dds tests in dlls/d3dx9_36/tests/surface.c
{ 32, 0x0000ffff, 0xffff0000, 0x00000000, 0x00000000, D3DFMT_G16R16
},
+ { 32, 0xff, 0xff00, 0xff0000, 0xff000000, D3DFMT_A8B8G8R8 },
The other 32 bit formats in this table have their bitmasks padded to 32 bit with leading zeroes. Hi,
I just realized that this patch was from friday and is committed already - that's ok, but the two changes still make sense I think. Stefan
participants (1)
-
Stefan Dösinger