[wesnoth-commits] [wesnoth/wesnoth] 0d1519: Fixed some circuitous logic

Charles Dang noreply at github.com
Mon Jul 22 10:18:59 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0d1519e0813521f41080b4cbd43cb4489dc456c2
      https://github.com/wesnoth/wesnoth/commit/0d1519e0813521f41080b4cbd43cb4489dc456c2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2019-07-22 (Mon, 22 Jul 2019)

  Changed paths:
    M src/sdl/surface.cpp

  Log Message:
  -----------
  Fixed some circuitous logic

By using a surface object here I ran the rick of a logic loop. The ctor would try to refor the surface using
the neutral pixel format while trying to set up the neutral pixel format.





More information about the Commits mailing list