[wesnoth-commits] [wesnoth/wesnoth] 3530a4: Take display zoom into account when rendering unit...

Iris Morelle noreply at github.com
Wed Feb 24 03:22:53 UTC 2021


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3530a4ef16383a85508942073cb76781c29cfdb5
      https://github.com/wesnoth/wesnoth/commit/3530a4ef16383a85508942073cb76781c29cfdb5
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M changelog.md
    M src/units/frame.cpp

  Log Message:
  -----------
  Take display zoom into account when rendering unit animation frames

It was already considered for registering halos, just not for rendering
regular frames. This commit touches the halo code a little so we don't
need to call get_zoom_factor() multiple times per frame.

Closes #5508.





More information about the Commits mailing list