[Commits] [wesnoth/wesnoth] 0d02af: Revert "disable "alpha thresholding" in our biline...

GitHub noreply at github.com
Thu Nov 13 17:52:50 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0d02afd672bed52345e101c9ff803e65a7d2c420
      https://github.com/wesnoth/wesnoth/commit/0d02afd672bed52345e101c9ff803e65a7d2c420
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-13 (Thu, 13 Nov 2014)

  Changed paths:
    M src/sdl_utils.cpp

  Log Message:
  -----------
  Revert "disable "alpha thresholding" in our bilinear interpolation algo"

This reverts commit d73a117278a98921be5915a2eb90675e2cfca0d8.

This is being reverted because there is still yet more bad behavior
in our alpha channel when scaling images, for instance this causes
the terrain overlays to disappear when mousing over terrains with
one of the editor terrain tools.

The reason is that our "scale image" routine is broken and doesn't
weight color contributions by alpha. It's not apporpriate to get
rid of the hacks like alpha thresholding until that has been fixed
and that can't be fixed on 1.12 right now.





More information about the Commits mailing list