Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream Patch - windowscodecs: BitmapScaler_CopyPixels: Do not demand a larger buffer than necessary. #16

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

IsaacMarovitz
Copy link
Member

windowscodecs: BitmapScaler_CopyPixels: Do not demand a larger buffer than necessary. Only bytesperrow bytes are written to each row of the output rect. Therefore the last row need not be padded to cbStride bytes.

Signed-off-by: Joachim Priesner [email protected]
Signed-off-by: Esme Povirk [email protected]
Signed-off-by: Alexandre Julliard [email protected]
(cherry picked from commit cdb9a27)

Fix for the black texture problem in BeamNG.drive.

Link: ValveSoftware/wine#160

…d a larger buffer than necessary.

windowscodecs: BitmapScaler_CopyPixels: Do not demand a larger buffer than necessary.
Only `bytesperrow` bytes are written to each row of the output rect.
Therefore the last row need not be padded to `cbStride` bytes.

Signed-off-by: Joachim Priesner <[email protected]>
Signed-off-by: Esme Povirk <[email protected]>
Signed-off-by: Alexandre Julliard <[email protected]>
(cherry picked from commit cdb9a27)

Fix for the black texture problem in BeamNG.drive.

Link: ValveSoftware/wine#160
@IsaacMarovitz IsaacMarovitz merged commit d5ad9ff into Whisky-App:7.7 Sep 19, 2024
1 check passed
@IsaacMarovitz IsaacMarovitz deleted the bitmapscaler branch September 19, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant