[gnome-games/gnome-2-28] aisleriot: remove usless region invalidation with Clutter; OpenGL doesn't care
- From: Jason Clinton <jclinton src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-games/gnome-2-28] aisleriot: remove usless region invalidation with Clutter; OpenGL doesn't care
- Date: Sun, 27 Sep 2009 04:35:26 +0000 (UTC)
commit 2688e6285e688f96e2ed41c7ec8f6c3f8923dbd6
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 2eb94d8..24a6c95 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]