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

avm2: Allow null ratios is Graphics gradient APIs #18699

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

adrian17
Copy link
Collaborator

Fixes #18384
Fixes #18452
Fixes #18613
Fixes #18615
Fixes #18627
Fixes #18675

Note: of these I have only tested #18627 .

I didn't unify the code in AVM1 and gradient-related filters; these have their own behaviors that may or may not be correct in edge case scenarios, but at least they don't panic :)

The test was created manually by screenshotting FP, I can't explain why the tolerance=5 is needed; the automated comparison picture didn't help :c

@adrian17 adrian17 added T-fix Type: Bug fix (in something that's supposed to work already) A-avm2 Area: AVM2 (ActionScript 3) labels Nov 21, 2024
Copy link
Contributor

@Dinnerbone Dinnerbone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Lord-McSweeney
Copy link
Collaborator

Thanks, sorry for breaking this :/

@adrian17 adrian17 merged commit d9faefb into ruffle-rs:master Nov 22, 2024
22 checks passed
@adrian17 adrian17 deleted the avm2-null-ratios branch November 22, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) newsworthy T-fix Type: Bug fix (in something that's supposed to work already)
Projects
None yet
4 participants