[wesnoth-commits] [wesnoth/wesnoth] c0db73: Bump SDL2 version to 2.0.8
grz0
noreply at github.com
Tue Apr 27 08:53:49 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: c0db7311bbba7944315c1519bf88ed2166339105
https://github.com/wesnoth/wesnoth/commit/c0db7311bbba7944315c1519bf88ed2166339105
Author: Grzegorz Halat <grzegorz.halat at gmail.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M CMakeLists.txt
M INSTALL.md
M SConstruct
Log Message:
-----------
Bump SDL2 version to 2.0.8
Commit: ae58e58a30582cc5de3e4daa8866b1878b8070bc
https://github.com/wesnoth/wesnoth/commit/ae58e58a30582cc5de3e4daa8866b1878b8070bc
Author: Grzegorz Halat <grzegorz.halat at gmail.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M src/sdl/surface.cpp
M src/sdl/surface.hpp
M src/video.cpp
Log Message:
-----------
Remove workarounds for SDL2.0.6 bug in SDL_FreeSurface()
Workarounds in CVideo class and surface::free_surface() method are not
required after SDL2 version bump to 2.0.8.
The workaround in CVideo class was incorrectly applied for SDL2 >= 2.0.6,
instead exactly for 2.0.6, as in the case of surface::free_surface().
After removing workarounds, the surface::clear_without_free() method
has no callers and can be removed.
Commit: 452ebd01aff1dfaa5ef3e3da37735ea7453ab209
https://github.com/wesnoth/wesnoth/commit/452ebd01aff1dfaa5ef3e3da37735ea7453ab209
Author: Grzegorz Halat <grzegorz.halat at gmail.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M src/font/text.cpp
M src/sdl/surface.cpp
M src/video.cpp
Log Message:
-----------
Remove compile-time SDL2 version checks used to determine SDL_CreateRGBSurfaceWithFormat() availability
These checks are not required after SDL2 version bump to 2.0.8.
Commit: 70d8df7c9e67d74a8a7b4f32d3165d1b7f3351a8
https://github.com/wesnoth/wesnoth/commit/70d8df7c9e67d74a8a7b4f32d3165d1b7f3351a8
Author: Grzegorz Halat <grzegorz.halat at gmail.com>
Date: 2021-04-27 (Tue, 27 Apr 2021)
Changed paths:
M src/display.cpp
Log Message:
-----------
Remove a workaround for pre-SDL2.0.5 bug in SDL_BlitSurface()
display::scroll() method has a workaround for a bug in
SDL_BlitSurface(). This SDL2 functions was not working correctly
with overlapping source and destination surfaces.
The bug has been fixed in SDL2.0.5 by this commit:
https://github.com/libsdl-org/SDL/commit/aae28e3ec15b44b285af952075dbc9c1993eb54f
This workaround is not required after SDL2 version bump to 2.0.8.
Compare: https://github.com/wesnoth/wesnoth/compare/9e4c770553e4...70d8df7c9e67
More information about the Commits
mailing list