Skip to content

Conversation

ankith26
Copy link
Member

@ankith26 ankith26 commented Jun 3, 2025

After seeing #3464 I reviewed #3314 more closely (which I should have done in the first place while reviewing that), and I found another minor issue. Fortunately this one shouldn't be the cause any regression, because the old code also had the same issue as the current code.

@ankith26 ankith26 requested a review from a team as a code owner June 3, 2025 05:53
Copy link
Member

@MightyJosip MightyJosip left a comment

Choose a reason for hiding this comment

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

https://github.com/pygame-community/pygame-ce/pull/3465/files#diff-02f1b57c8aaf1c6efca9e58df6187db5ff5c4d6b5e1e6968f132419d2a0c79d0R2795

Variable is only used here, and it definitely makes sense to actually be the palette of the destination, so LGTM, ty 👍

@Starbuck5
Copy link
Member

I did flag this in #3314 (comment), but I dealt with it weirdly by using the format from one and the palette from the other. I should've used both from one or both from the other.

Copy link
Member

@Starbuck5 Starbuck5 left a comment

Choose a reason for hiding this comment

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

Good news is that this gets passed into PG_MapRGBA which ignores it on SDL2, so this wasn't influencing any behavior right now.

@ankith26 ankith26 added this to the 2.5.5 milestone Jun 3, 2025
@ankith26 ankith26 merged commit c951503 into main Jun 3, 2025
27 checks passed
@ankith26 ankith26 deleted the ankith26-fix-dst-pal branch June 8, 2025 12:02
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.

3 participants