Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
+ IDirect3DSurface9 *surface; + ID3DXBuffer *buffer; + uint32_t i; + HRESULT hr; + + for (i = 0; i < ARRAY_SIZE(dds_tests); ++i) + { + hr = IDirect3DDevice9_CreateOffscreenPlainSurface(device, dds_tests[i].width, dds_tests[i].height, dds_tests[i].format, + D3DPOOL_SCRATCH, &surface, NULL); + if (FAILED(hr)) + { + skip("Couldn't create surface for format %#x.\n", dds_tests[i].format); + continue; + } + + winetest_push_context("Test %u", i); I guess the `dds_tests[]` definition above could use a small comment every 10 entries or so.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6776#note_86945