31 Oct
2024
31 Oct
'24
5:41 p.m.
Matteo Bruni (@Mystral) commented about dlls/d3dx9_36/surface.c:
{ unsigned int i;
for (i = 0; i < ARRAY_SIZE(wic_pixel_formats); i++) { if (IsEqualGUID(wic_pixel_formats[i].wic_guid, guid)) - return wic_pixel_formats[i].d3dformat; + return wic_pixel_formats[i].d3dx_pixel_format; }
- return D3DFMT_UNKNOWN; + return D3DX_PIXEL_FORMAT_COUNT; + }
static const GUID *d3dformat_to_wic_guid(D3DFORMAT format) Same here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6746#note_86404