[PATCH v2 0/2] MR138: d3drm: IDirect3DRMTexture3 Get/SetDecalTransparency
Stefan Dösinger (@stefan)
wine at gitlab.winehq.org
Fri May 27 13:50:06 CDT 2022
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
More information about the wine-devel
mailing list