[Commits] [wesnoth/wesnoth] 171963: Fix Alpha Blending issues in SDL2

GitHub noreply at github.com
Thu Sep 24 13:04:09 UTC 2015


  Branch: refs/heads/sdl2
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 171963739be592781655464564f8007e336bc29d
      https://github.com/wesnoth/wesnoth/commit/171963739be592781655464564f8007e336bc29d
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-09-24 (Thu, 24 Sep 2015)

  Changed paths:
    M src/cursor.cpp
    M src/floating_label.cpp
    M src/halo.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Fix Alpha Blending issues in SDL2

This commit introduces a new function, sdl_copy_portion that should be
used when copying portions of the screen area for later copying back
onto the screen area. The function does a copy without alpha blending,
thus emulating the functionality that SDL1.2 provides.


  Commit: c5bd5c96b7d030567e78dc8dd4a729bc49aafd56
      https://github.com/wesnoth/wesnoth/commit/c5bd5c96b7d030567e78dc8dd4a729bc49aafd56
  Author: Andreas <andreas at alternating.net>
  Date:   2015-09-25 (Fri, 25 Sep 2015)

  Changed paths:
    M src/cursor.cpp
    M src/floating_label.cpp
    M src/halo.cpp
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Merge pull request #500 from aginor/experimental-alpha-fix

Bugfix #23820 - Fix alpha blending under SDL2


Compare: https://github.com/wesnoth/wesnoth/compare/eebe3cfb758e...c5bd5c96b7d0


More information about the Commits mailing list