[Commits] [wesnoth/wesnoth] 89372c: Use get_renderer() over *get_window()

GitHub noreply at github.com
Tue Jun 6 12:24:10 UTC 2017


  Branch: refs/heads/accelerated_rendering
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 89372cf190d7134e99a673e4730a82ab882b0c68
      https://github.com/wesnoth/wesnoth/commit/89372cf190d7134e99a673e4730a82ab882b0c68
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-06 (Tue, 06 Jun 2017)

  Changed paths:
    M src/gui/widgets/widget.cpp
    M src/sdl/rect.cpp

  Log Message:
  -----------
  Use get_renderer() over *get_window()

This doesn't appear to have been an issue in the rectangle drawing code at least, but it should guard
against possible segfaults in the future.





More information about the Commits mailing list