Skip to content

Fix Color Management regression (fix #5333)#5357

Merged
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-cs
Aug 25, 2025
Merged

Fix Color Management regression (fix #5333)#5357
dacap merged 1 commit into
aseprite:mainfrom
Gasparoken:fix-cs

Conversation

@Gasparoken

Copy link
Copy Markdown
Member

fix #5333

@Gasparoken Gasparoken requested a review from dacap as a code owner August 15, 2025 14:39
Before this fix, the assigned color space was always sRGB (default),
so this color space was used for the rest of the rendering.
Now the color space for the back layer of the display
has been made explicit.
@aseprite aseprite deleted a comment from aseprite-bot Aug 15, 2025
@aseprite aseprite deleted a comment from aseprite-bot Aug 15, 2025
@Gasparoken Gasparoken self-assigned this Aug 15, 2025
@aseprite-bot

Copy link
Copy Markdown
Collaborator

clang-tidy review says "All clean, LGTM! 👍"

@Gasparoken Gasparoken assigned dacap and Gasparoken and unassigned Gasparoken and dacap Aug 15, 2025
@Gasparoken

Copy link
Copy Markdown
Member Author

I'll be doing a bit more research because there may still be similar bugs in other makeSurface() calls. However, the current PR, which would be the most critical fix, may be merged asap.

@Gasparoken Gasparoken assigned Gasparoken and unassigned dacap Aug 19, 2025
@dacap

dacap commented Aug 25, 2025

Copy link
Copy Markdown
Member

Should we merge this PR as it is?

@Gasparoken

Copy link
Copy Markdown
Member Author

Should we merge this PR as it is?

Yes. Just to let you know that this PR is half the solution. I discovered there's another part of the code that also converts the color space to sRGB (I'm still looking).
Anyway, by mixing this fix we'd be in a better position than before, so go ahead and merge it.

@Gasparoken Gasparoken assigned dacap and unassigned Gasparoken Aug 25, 2025
@dacap dacap merged commit bc312a3 into aseprite:main Aug 25, 2025
12 checks passed
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.

Color Management regression

3 participants