This commit (https://gitlab.winehq.org/wine/wine/-/commit/cdb9a2748ba62891bfcd342cb3da82c204f896d2) contains a bugfix related to bitmap scaling. It fixes the CopyPixels function rejecting parameters that are valid on windows, where the destination bitmap buffer doesn't include padding for the last scanline. This behaviour is relied upon by DirectXTex's mipmap generation.
This commit (https://gitlab.winehq.org/wine/wine/-/commit/cdb9a2748ba62891bfcd342cb3da82c204f896d2) contains a bugfix related to bitmap scaling. It fixes the
CopyPixels
function rejecting parameters that are valid on windows, where the destination bitmap buffer doesn't include padding for the last scanline. This behaviour is relied upon by DirectXTex's mipmap generation.This commit fixes the black texture problem in BeamNG.drive reported in https://github.com/ValveSoftware/Proton/issues/1237#issuecomment-988444929.