~unity-team/unity/7.1

Viewing all changes in revision 3575.

  • Committer: Tarmac
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2013-11-19 23:41:27 UTC
  • mfrom: (3563.1.1 trunk)
  • Revision ID: tarmac-20131119234127-dy3tx2ml9ih3ve3f
OverlayRenderer: only and correctly initialize the BGLayer when not on GLSL codepath

Make sure we set the initial bg_layer_ value to the average color, and do this only if
really needed. Fixes: https://bugs.launchpad.net/bugs/1232726.

Approved by PS Jenkins bot, Eleni Maria Stea.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: