-
Committer:
Tarmac
-
Author(s):
Daniel van Vugt
-
Date:
2012-10-30 17:28:30 UTC
-
mfrom:
(2866.4.1 toy)
-
Revision ID:
tarmac-20121030172830-zlkzgrul3ow19rrr
Stop Unity UI elements from flickering. This could happen in some odd
cases where UnityScreen::damageRegion has not received the full damage
region for the frame, most likely due to the *SetEnabled() toggles.
So the fix is to tell Nux about the final, complete, set of damage just
before rendering. This ensures Nux is always told about everything it has
to redraw on every frame, rather than flickering.
(LP: #1070735). Fixes: https://bugs.launchpad.net/bugs/1070735. Approved by Marco Trevisan (Treviño).