mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 22:11:02 +00:00

This does a few things: * Refactored adjust_surface_alpha to use SDL_SetSurfaceAlphaMod * Made all uses of the legacy SDL_SetAlpha use adjust_surface_alpha * Made adjust_surface_alpha now take a non-const reference and perform the operation on the surface directly.