6 Oct
2023
6 Oct
'23
8:04 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/tests/mesh.c:
mesh->lpVtbl->Release(mesh); adjacency->lpVtbl->Release(adjacency); file_data->lpVtbl->Release(file_data); + + /* Empty Mesh Test */ + file_data = get_mesh_data(simple_xfile_empty, sizeof(simple_xfile_empty) - 1); + ok(!!file_data, "Failed to load mesh data.\n"); + + adjacency = materials = effects = (void *)0xdeadbeef; + count = ~0u;
Can you please initialize this to 0xdeadbeefu or so? Just to clarify that it's somehow not initialized by the function to ~0u (which would be weird but not as much as a 0xdeadbeef value...) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/4031#note_47923