[PATCH v3 0/7] MR205: Add support for HRESULT and ID3DX10ThreadPump parameters in D3DX10GetImageInfo functions

Matteo Bruni (@Mystral) wine at gitlab.winehq.org
Fri Jun 10 12:32:33 CDT 2022


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



More information about the wine-devel mailing list