[wesnoth-commits] [wesnoth/wesnoth] 325a42: Made Blitting more permissive (#3584)

GitHub noreply at github.com
Sat Oct 6 14:36:56 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 325a42ee337c2de122ba34a17eee9074ab1bbcaf
      https://github.com/wesnoth/wesnoth/commit/325a42ee337c2de122ba34a17eee9074ab1bbcaf
  Author: Joseph Gelfand <j.n.gelfand at gmail.com>
  Date:   2018-10-06 (Sat, 06 Oct 2018)

  Changed paths:
    M src/image_modifications.cpp
    M src/tests/test_image_modifications.cpp

  Log Message:
  -----------
  Made Blitting more permissive (#3584)

Made Blitting more permissive

SDL_BlitSurface's documentation (https://wiki.libsdl.org/SDL_BlitSurface) notes that "Blits with negative dstrect coordinates will be clipped properly".

Looking at the source code for SDL_UpperBlit() convinced me that dstrect coordinates that were too big would also be handled appropriately.

Fixes #2225.


  Commit: 110bab74f0cc1faad85fb3ffc60672a131fe26fa
      https://github.com/wesnoth/wesnoth/commit/110bab74f0cc1faad85fb3ffc60672a131fe26fa
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-10-06 (Sat, 06 Oct 2018)

  Changed paths:
    M data/core/about.cfg

  Log Message:
  -----------
  Add @JGelfand to credits


Compare: https://github.com/wesnoth/wesnoth/compare/9672652a6a67...110bab74f0cc
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list