[wesnoth-commits] [wesnoth/wesnoth] 04674b: Made Blitting more permissive (#3584)
GitHub
noreply at github.com
Sat Oct 6 14:32:02 UTC 2018
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: 04674b6ae8517bf77b000f28ae5e2ab4642689d3
https://github.com/wesnoth/wesnoth/commit/04674b6ae8517bf77b000f28ae5e2ab4642689d3
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.
**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