27 May
2022
27 May
'22
6:50 p.m.
Stefan Dösinger (@stefan) commented about dlls/d3drm/tests/d3drm.c:
hr = IDirect3DRMTexture_SetShades(texture1, 8); ok(hr == S_OK, "got %#lx.\n", hr);
+ hr = IDirect3DRMTexture_GetDecalSize(texture1, &width, &height); + ok(hr == S_OK, "got %#lx.\n", hr); + ok(width == 1.0, "got %.8e.\n", width); + ok(height == 1.0, "got %.8e.\n", height); + + hr = IDirect3DRMTexture_SetDecalSize(texture1, 8.0, 7.0); + ok(hr == S_OK, "got %#lx.\n", hr);
Thinking about it, it might be worth testing setting negative values here. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/138#note_1271