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

core: Fix copy channel operations on bitmaps #19335

Merged
merged 2 commits into from
Jan 27, 2025

Conversation

kjarosh
Copy link
Member

@kjarosh kjarosh commented Jan 25, 2025

This patch fixes the copy channel operations on bitmap data:

  1. adds proper support for out of bounds writes,
  2. fixes missing source bitmap translation.

@kjarosh kjarosh added A-rendering Area: Rendering & Graphics T-fix Type: Bug fix (in something that's supposed to work already) waiting-on-review Waiting on review from a Ruffle team member labels Jan 25, 2025
This patch fixes the copy channel operations on bitmap data:

1. adds proper support for out of bounds writes,
2. fixes missing source bitmap translation.
This test verifies the behavior of BitmapData.copyChannel() method.
@kjarosh kjarosh force-pushed the bitmapdata-copychannel branch from b1b2ea9 to 7ab00f9 Compare January 27, 2025 22:33
@kjarosh kjarosh enabled auto-merge (rebase) January 27, 2025 22:34
@kjarosh kjarosh removed the waiting-on-review Waiting on review from a Ruffle team member label Jan 27, 2025
@kjarosh kjarosh merged commit 7ce681c into ruffle-rs:master Jan 27, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rendering Area: Rendering & Graphics T-fix Type: Bug fix (in something that's supposed to work already)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Font failure on dude and zombies
2 participants