10 Jun
2022
10 Jun
'22
5:32 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/tests/d3dx10.c:
}
hr2 = 0xdeadbeef; - SET_EXPECT(D3DX10ThreadPump_AddWorkItem); + add_work_item_count = 0; hr = D3DX10GetImageInfoFromMemory(test_image[0].data, test_image[0].size, &thread_pump, &image_info, &hr2); - CHECK_CALLED(D3DX10ThreadPump_AddWorkItem); + ok(add_work_item_count, "D3DX10ThreadPump_AddWorkItem not called\n");
Any reason not to check explicitly for == 1? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/205#note_1857