compositor-drm: remove a stale comment
authorPekka Paalanen <ppaalanen@gmail.com>
Wed, 24 Oct 2012 06:43:09 +0000 (09:43 +0300)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 25 Oct 2012 18:59:30 +0000 (14:59 -0400)
This comment became stale in:

commit 65a11e1039e7ea429ff26bdd0058bdf0efd1df2d
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Fri Aug 3 11:30:18 2012 -0400

    compositor: Accumulate damage per plane

Now it is just misleading. Remove it.

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

index a2169dd..3e75387 100644 (file)
@@ -564,11 +564,6 @@ drm_disable_unused_sprites(struct weston_output *output_base)
        }
 }
 
-/*
- * This function must take care to damage any previously assigned surface
- * if the sprite ends up binding to a different surface than in the
- * previous frame.
- */
 static struct weston_plane *
 drm_output_prepare_overlay_surface(struct weston_output *output_base,
                                   struct weston_surface *es)