Matteo Bruni (@Mystral) commented about dlls/d3dx10_43/texture.c:
+ } + + out->Width = D3DX10_DEFAULT; + out->Height = D3DX10_DEFAULT; + out->Depth = D3DX10_DEFAULT; + out->FirstMipLevel = D3DX10_DEFAULT; + out->MipLevels = D3DX10_DEFAULT; + out->Usage = D3DX10_DEFAULT; + out->BindFlags = D3DX10_DEFAULT; + out->CpuAccessFlags = D3DX10_DEFAULT; + out->MiscFlags = D3DX10_DEFAULT; + out->Format = D3DX10_DEFAULT; + out->Filter = D3DX10_DEFAULT; + out->MipFilter = D3DX10_DEFAULT; + out->pSrcInfo = NULL; +} Maybe init_load_info()? Separately, let's try to use consistent naming for D3DX10_IMAGE_LOAD_INFO variables in new code, like either load_info or just info.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/228#note_2066