Skip to content

Fix for missed optimisation with grayscale same layouts#257

Open
rps102 wants to merge 1 commit intorandy408:masterfrom
rps102:logic-miss
Open

Fix for missed optimisation with grayscale same layouts#257
rps102 wants to merge 1 commit intorandy408:masterfrom
rps102:logic-miss

Conversation

@rps102
Copy link
Copy Markdown

@rps102 rps102 commented Jun 29, 2023

The outer 'if' clause prevented the inner test on GRAYSCALE_ALPHA being reached, so when source and destination are the same the faster copy out from the decoder isn't used.

The outer 'if' clause prevented the inner test on GRAYSCALE_ALPHA being
reached, so when source and destination are the same the faster copy out from
the decoder isn't used.
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