From: Dmitry Timoshkov <dmitry@baikal.ru> format_32bppGrayFloat is handled in the switch case above this one. Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru> --- dlls/windowscodecs/converter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windowscodecs/converter.c b/dlls/windowscodecs/converter.c index 9c2b9086cb4..716dd065412 100644 --- a/dlls/windowscodecs/converter.c +++ b/dlls/windowscodecs/converter.c @@ -1693,7 +1693,7 @@ static HRESULT copypixels_to_32bppGrayFloat(struct FormatConverter *This, const break; } - if (SUCCEEDED(hr) && prc && source_format != format_32bppGrayFloat) + if (SUCCEEDED(hr) && prc) { INT x, y; BYTE *p = pbBuffer; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9898