[wesnoth-commits] [wesnoth/wesnoth] 6babb7: Fixed images with no alpha channel rendering incor...
GitHub
noreply at github.com
Wed Apr 4 09:17:31 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 6babb773d2319625a5b7def241fc0f9e4921db42
https://github.com/wesnoth/wesnoth/commit/6babb773d2319625a5b7def241fc0f9e4921db42
Author: Charles Dang <exodia339 at gmail.com>
Date: 2018-04-04 (Wed, 04 Apr 2018)
Changed paths:
M changelog.md
M src/image.cpp
M src/sdl/utils.cpp
Log Message:
-----------
Fixed images with no alpha channel rendering incorrectly
See https://forums.wesnoth.org/viewtopic.php?p=625159#p625159
Since this problem can also be solved with make_neutral_surface, and is_neutral already
check a surface's alpha mask, I moved the is-not-indexed check to is_neutral and made use
of it for the on-load standardization check.
More information about the Commits
mailing list