Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
/* dds_header.caps */ #define DDSCAPS_ALPHA 0x00000002 +#define DDSCAPS_PALETTE 0x00000100 #define DDS_CAPS_TEXTURE 0x00001000 #define DDS_CAPS_COMPLEX 0x00000008
It just came to me: can we `#include <ddraw.h>` instead? It wouldn't be proper for the implementation side, but for the tests I don't think there should be major problems with that... Not worth spending a lot of time on this, though.