Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/surface.c:
DWORD reserved2;
};
+#define IMAGETYPE_COLORMAPPED 1 +#define IMAGETYPE_TRUECOLOR 2 +#define IMAGETYPE_GRAYSCALE 3 +#define IMAGETYPE_MASK 0x07 +#define IMAGETYPE_RLE 8
+#define IMAGE_RIGHTTOLEFT 0x10 +#define IMAGE_TOPTOBOTTOM 0x20
Minor, but it's probably better to prefix those with `TGA_` or something as this file is not limited to just the `D3DXIFF_TGA` format.