Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/surface.c:
hr = D3DXLoadSurfaceFromSurface(surf, NULL, NULL, newsurf, NULL, NULL, D3DX_FILTER_NONE, 0); ok(hr == D3D_OK, "Unexpected hr %#lx.\n", hr);
+ /* Can also load from memory into a multisampled render target. */ + SetRect(&rect, 0, 0, 2, 2); + hr = D3DXLoadSurfaceFromMemory(newsurf, NULL, NULL, pixdata, D3DFMT_A8R8G8B8, sizeof(pixdata), NULL, &rect, D3DX_FILTER_NONE, 0); + todo_wine ok(hr == D3D_OK, "D3DXLoadSurfaceFromMemory returned %#lx, expected %#lx\n", hr, D3D_OK);
Nitpick, just `..., "Unexpected hr %#lx.\n", hr);` It would be interesting to also check the loaded surface contents. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6157#note_77231