24 Nov
2023
24 Nov
'23
5:05 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/mesh.c:
+} + +static const struct ID3DXLoadUserDataVtbl load_user_data_vtbl = +{ + load_top_level_data, + load_frame_child_data, + load_mesh_child_data, +}; + +static void init_load_user_data(struct test_load_user_data *data) +{ + unsigned int i; + + memset(data, 0, sizeof(*data)); + for (i = 0; i < ARRAY_SIZE(data->data); ++i) + data->data[i].type = &data->guids[i]; Does that work with clang? If not we could just skip this step and compare directly with `user_data->guids[i]` in `check_user_data()`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/4459#note_53721