[wesnoth-commits] [wesnoth/wesnoth] f78e32: Fixed images with no alpha channel rendering incor...
GitHub
noreply at github.com
Wed Apr 4 09:13:59 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: f78e32c7f88b631f577e88315634ada43098885e
https://github.com/wesnoth/wesnoth/commit/f78e32c7f88b631f577e88315634ada43098885e
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