[Commits] [wesnoth/wesnoth] c42ba8: Fix cmake scripts for use on OSX with homebrew.

GitHub noreply at github.com
Mon Aug 24 21:51:22 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: c42ba83b82087405aede7116965f04c3ba4292ba
      https://github.com/wesnoth/wesnoth/commit/c42ba83b82087405aede7116965f04c3ba4292ba
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M cmake/FindSDL2.cmake
    M cmake/FindSDL2_image.cmake
    M cmake/FindSDL2_mixer.cmake
    M cmake/FindSDL2_net.cmake
    M cmake/FindSDL2_ttf.cmake

  Log Message:
  -----------
  Fix cmake scripts for use on OSX with homebrew.

It seems that cmake won't pick up on the FindPackageHandleStandardArgs
macro on its on from homebrew so I've updated the script to include it.


  Commit: 75035a04f25494fd26649daa6ea0fb0e29ff7648
      https://github.com/wesnoth/wesnoth/commit/75035a04f25494fd26649daa6ea0fb0e29ff7648
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  Fix alpha blending issue when scrolling under SDL2

SDL2 has a workaround for a broken blitting operation, and on some
hardware accelerated systems this led to an alpha blending issue where
map regions that were frequently redrawn would grow progressively
darker until the alpha blended aspects are black. This disables
alpha-blending on the copy of the scrolled map area as no further
alpha composition should be done without a complete redraw of the
affected area.


  Commit: d9d57cf8012551afe99466d62c6db26abea0c4ab
      https://github.com/wesnoth/wesnoth/commit/d9d57cf8012551afe99466d62c6db26abea0c4ab
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2015-08-24 (Mon, 24 Aug 2015)

  Changed paths:
    M cmake/FindSDL2.cmake
    M cmake/FindSDL2_image.cmake
    M cmake/FindSDL2_mixer.cmake
    M cmake/FindSDL2_net.cmake
    M cmake/FindSDL2_ttf.cmake
    M src/display.cpp

  Log Message:
  -----------
  Merge pull request #473 from aginor/sdl2graphics

Fix cmake on OSX and fix alpha blending issue with SDL2 while scrolling


Compare: https://github.com/wesnoth/wesnoth/compare/bd6f4889317d...d9d57cf80125


More information about the Commits mailing list