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

Move Colorkey option earlier, and remove conflicting DisplayFormatAlpa which isn't needed for transparency when you have a colorkey now. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

phuff
Copy link
Contributor

@phuff phuff commented May 13, 2022

I saw another change to restore text display in tuxmth, but this version preserves the same set of surfaces instead of just returning the white letters. It looks like SDL_DisplayFormatAlpha overwrites the transparency that the colorkey call sets up. I moved the colorkey to earlier to make it more clear what's going on with the alpha blend when the bg surface is created.

…ha which isn't needed for transparency when you have a colorkey now.
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