[Commits] [wesnoth/wesnoth] d920cf: Split windowed mode setter into its own function
GitHub
noreply at github.com
Sat Jan 2 17:55:55 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: d920cf9bd18b520825fb89cc9cebb502cae69c6e
https://github.com/wesnoth/wesnoth/commit/d920cf9bd18b520825fb89cc9cebb502cae69c6e
Author: Charles Dang <exodia339 at gmail.com>
Date: 2016-01-03 (Sun, 03 Jan 2016)
Changed paths:
M src/sdl/window.cpp
M src/sdl/window.hpp
Log Message:
-----------
Split windowed mode setter into its own function
Commit: 3c5e6cbdb6d440e59956fe0b6641b7c4095e22a9
https://github.com/wesnoth/wesnoth/commit/3c5e6cbdb6d440e59956fe0b6641b7c4095e22a9
Author: Charles Dang <exodia339 at gmail.com>
Date: 2016-01-03 (Sun, 03 Jan 2016)
Changed paths:
M src/game_launcher.cpp
M src/video.cpp
M src/video.hpp
Log Message:
-----------
More progress on refactoring window handling under SDL2
General changes in this commit:
* Split window initialization out of setMode and into its own function
* Remove local flags for window state and instead get them directly from the
window itself.
* Improve handling of distinct window change cases in setMode.
* Refactored and cleaned up several functions.
Compare: https://github.com/wesnoth/wesnoth/compare/9e356c40f41a...3c5e6cbdb6d4
More information about the Commits
mailing list