diff options
author | Benjamin Otte <otte@redhat.com> | 2011-10-13 02:23:39 -0700 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-10-14 00:31:16 -0700 |
commit | 3f8b6c0caeeb66c8e65838ac97c9a1fd421dcfcc (patch) | |
tree | 9e45549766f6063e4f24a2364f8ce7f37d17e5f0 | |
parent | efba82ddfc535828d962750b6aa528aa1c49c94e (diff) |
board: Draw the whole graphic
The graphic can figure out what to clip by looking at cairo's clip
extents if it cares.
-rw-r--r-- | src/gnome/gnome-board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gnome/gnome-board.c b/src/gnome/gnome-board.c index b3a6cd8..32a27e9 100644 --- a/src/gnome/gnome-board.c +++ b/src/gnome/gnome-board.c @@ -128,7 +128,7 @@ game_gnome_board_expose (GtkWidget *widget, GdkEventExpose *event) { static double time = 0.0; GTimer *timer = g_timer_new (); - game_graphic_draw_area (board->graphic, cr, &rect); + game_graphic_draw (board->graphic, cr); g_timer_stop (timer); if (g_timer_elapsed (timer, NULL) > time) { time = g_timer_elapsed (timer, NULL); |