dds loader bug
Posted: Fri Feb 11, 2011 3:42 pm
the loader create a ARGB8888's image.
so
struct ddsColor
{
u8 r, g, b, a; <== is ABGR
} PACK_STRUCT;
maybe is error.
I change to
struct ddsColor
{
u8 b, g, r, a;
} PACK_STRUCT;
the color is ok.
so
struct ddsColor
{
u8 r, g, b, a; <== is ABGR
} PACK_STRUCT;
maybe is error.
I change to
struct ddsColor
{
u8 b, g, r, a;
} PACK_STRUCT;
the color is ok.