[Commits] [wesnoth/wesnoth] 0c27eb: Only use references to the screen surface.
GitHub
noreply at github.com
Mon Oct 12 10:09:34 UTC 2015
Branch: refs/heads/sdl2
Home: https://github.com/wesnoth/wesnoth
Commit: 0c27eb94906a3ffa70930c0bc21cd929a17b3705
https://github.com/wesnoth/wesnoth/commit/0c27eb94906a3ffa70930c0bc21cd929a17b3705
Author: Andreas Löf <andreas at alternating.net>
Date: 2015-10-12 (Mon, 12 Oct 2015)
Changed paths:
M src/about.cpp
M src/dialogs.cpp
M src/display.cpp
M src/editor/palette/item_palette.cpp
M src/editor/palette/unit_palette.cpp
M src/game_initialization/multiplayer_wait.cpp
M src/gui/auxiliary/event/handler.cpp
M src/gui/widgets/window.cpp
M src/help/help_text_area.cpp
M src/loadscreen.cpp
M src/video.cpp
M src/video.hpp
M src/widgets/progressbar.cpp
M src/widgets/scrollbar.cpp
M src/widgets/slider.cpp
M src/widgets/textbox.cpp
Log Message:
-----------
Only use references to the screen surface.
This change makes sure that only references are used to the video
surface instead of a copy. This will help to avoid stale values after
a resize event has occured where it will cause a crash due to a stale
pointer.
More information about the Commits
mailing list