[gnome-games] chess: Set the animation timer to low priority so the rendering has higher priority
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] chess: Set the animation timer to low priority so the rendering has higher priority
- Date: Sat, 19 Feb 2011 07:02:22 +0000 (UTC)
commit a9414339a9cd5718acd8481940e9877ed7c828bd
Author: Robert Ancell <robert ancell canonical com>
Date: Sat Feb 19 18:02:16 2011 +1100
chess: Set the animation timer to low priority so the rendering has higher priority
glchess/src/chess-scene.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/chess-scene.vala b/glchess/src/chess-scene.vala
index bbd8d1d..36eb187 100644
--- a/glchess/src/chess-scene.vala
+++ b/glchess/src/chess-scene.vala
@@ -272,7 +272,7 @@ public class ChessScene : Object
game.add_hold ();
/* Animate every 10ms (up to 100fps) */
- Timeout.add (10, animate_cb);
+ Timeout.add (10, animate_cb, Priority.DEFAULT_IDLE);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]