tux4kids / t4kcommon

GNU General Public License v3.0
4 stars 11 forks source link

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

Open phuff opened 2 years ago

phuff commented 2 years ago

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.