Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
+ +static const uint8_t r3g3b2_4_4_expected[] = +{ + 0x00,0x00,0x00,0xff,0x00,0x00,0x00,0xff,0x00,0x24,0x24,0xff,0x00,0x24,0x24,0xff, + 0x55,0x49,0x49,0xff,0x55,0x49,0x49,0xff,0x55,0x6d,0x6d,0xff,0x55,0x6d,0x6d,0xff, + 0xaa,0x92,0x92,0xff,0xaa,0x92,0x92,0xff,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0xff,0xdb,0xdb,0xff,0xff,0xdb,0xdb,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff, +}; + +static BOOL is_dxt_d3dformat(D3DFORMAT fmt); +static void test_color_key(void) +{ + static const struct + { + D3DFORMAT src_format; + const RECT src_rect; Right now this seems to always be set to `{0, 0, 4, 4}`, so it's unnecessary unless you expect more tests to come?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/7711#note_102877