[Commits] [wesnoth/wesnoth] 09d905: Stop calling adjust_surface_alpha() with SDL_ALPHA...
GitHub
noreply at github.com
Tue Feb 28 21:30:18 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 09d9054e4ad241739061426f8e98efc5ede8b128
https://github.com/wesnoth/wesnoth/commit/09d9054e4ad241739061426f8e98efc5ede8b128
Author: Jyrki Vesterinen <sandgtx at gmail.com>
Date: 2017-02-28 (Tue, 28 Feb 2017)
Changed paths:
M src/attack_prediction_display.cpp
M src/display.cpp
M src/editor/palette/tristate_button.cpp
M src/floating_label.cpp
M src/gui/core/canvas.cpp
M src/image.cpp
M src/image_modifications.cpp
M src/sdl/utils.cpp
M src/sdl/utils.hpp
M src/show_dialog.cpp
M src/storyscreen/render.cpp
Log Message:
-----------
Stop calling adjust_surface_alpha() with SDL_ALPHA_OPAQUE
The function doesn't do anything if that value is passed, except if
adjust_surface_alpha() has been called for the same surface before with a
different value.
The only case that remains is floating_label.cpp line 123, since in that
case the alpha *is* changed few lines earlier.
More information about the Commits
mailing list