compositor: clear surface damage on draw
authorPekka Paalanen <ppaalanen@gmail.com>
Mon, 6 Feb 2012 10:16:07 +0000 (12:16 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Mon, 6 Feb 2012 10:20:02 +0000 (12:20 +0200)
commitc7b45f68e629dd5f92f10411f97bfa862a7baf5e
tree928cbb860ab998fd44ce22bf64460976473245ed
parentf55f544e4fe1abc5224afda4a96355e6665391cc
compositor: clear surface damage on draw

Commit a0d6dc4f26c95ae08ffff7d5f1ee7c1f53bdf545 lost one line of code in
the refactoring, and so did not reset the surface damage on repaint
anymore. This causes damage to only accumulate, leading to a full
display redraw every cycle and hiding damage tracking issues.

Put the damage clear back.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/compositor.c