[gnome-games] aisleriot: remove usless region invalidation with Clutter; OpenGL doesn't care



commit a204fa363eb444218057f33132d649bb20b27434
Author: Jason D. Clinton <me jasonclinton com>
Date:   Sat Sep 26 21:30:06 2009 -0500

    aisleriot: remove usless region invalidation with Clutter; OpenGL doesn't care

 aisleriot/board.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/aisleriot/board.c b/aisleriot/board.c
index bf44528..af5119e 100644
--- a/aisleriot/board.c
+++ b/aisleriot/board.c
@@ -839,16 +839,6 @@ slot_update_geometry (AisleriotBoard *board,
     clutter_actor_set_position (slot->slot_renderer,
                                 slot->rect.x, slot->rect.y);
 
-  if (GTK_WIDGET_REALIZED (widget)) {
-    GdkRectangle damage = slot->rect;
-
-    if (old_rect.width > 0 && old_rect.height > 0) {
-      gdk_rectangle_union (&damage, &old_rect, &damage);
-    }
-
-    gdk_window_invalidate_rect (widget->window, &damage, FALSE);
-  }
-
   slot->needs_update = FALSE;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]