[Commits] [wesnoth/wesnoth] dfba43: Allow any surface to create its own SDL software (...

GitHub noreply at github.com
Tue Sep 13 07:45:32 UTC 2016


  Branch: refs/heads/surface_cleanup
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dfba4355d02522c08f31431848543c3a2267d0fe
      https://github.com/wesnoth/wesnoth/commit/dfba4355d02522c08f31431848543c3a2267d0fe
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

  Changed paths:
    M src/gui/core/canvas.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Allow any surface to create its own SDL software (surface) renderer

The surface object is in charge of the life of the renderer.


  Commit: 69c02d450a3d1480fa1ecf8059e07a4724cc642b
      https://github.com/wesnoth/wesnoth/commit/69c02d450a3d1480fa1ecf8059e07a4724cc642b
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-09-13 (Tue, 13 Sep 2016)

  Changed paths:
    M projectfiles/CodeBlocks/wesnoth.cbp
    M src/CMakeLists.txt
    M src/SConscript
    M src/gui/core/canvas.cpp
    A src/sdl/renderer.cpp
    A src/sdl/renderer.hpp

  Log Message:
  -----------
  Split drawing primitives helpers out of the GUI2 canvas and into their own file

This doesn't move the draw() functions in each tshape class, just three static helpers.


Compare: https://github.com/wesnoth/wesnoth/compare/3f3e098e3c35...69c02d450a3d


More information about the Commits mailing list