-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
GRAPHICS: Use standard palettes in ManagedSurface #4730
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
Conversation
|
@ccawley2011 : I would prefer to close this in favor of using PR #4731 instead. OK with you? |
The two PRs do different things, though. PR #4731 removes the deprecated API so that users of ManagedSurface aren't dependent on the format of the palette, while this PR changes the format of the palette to allow code reuse, which is why the old API was deprecated in the first place. |
|
@ccawley2011 : Ah, OK. So what happens now? i.e. merge both, merge one or the other? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me.
The alpha in palette seem to not be used anywhere so this simplifies things.
I suppose the code has been done just in case and there is no use of it.
There is one small fix to do and conflicts to repair but that should be easy. :D
36ec925 to
9f6b8ba
Compare
|
This is a good change. I always wondered why ManagedSurface used a non-standard palette format. It requires rebasing, though |
9f6b8ba to
125640f
Compare
OK, done. |
|
Thank you! |
This is a follow up to PR #4541.