* gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current

buffer since gfxterm handles double repaint.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-23 13:43:38 +02:00
parent 5f2316c1fe
commit 3ecb080a33
2 changed files with 5 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
* gfxmenu/view.c (grub_gfxmenu_draw_terminal_box): Apply only to current
buffer since gfxterm handles double repaint.
2010-05-23 Vladimir Serbinenko <phcoder@gmail.com> 2010-05-23 Vladimir Serbinenko <phcoder@gmail.com>
* gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers. * gfxmenu/gfxmenu.c (grub_gfxmenu_try): Change viewport on both buffers.

View file

@ -357,11 +357,6 @@ grub_gfxmenu_draw_terminal_box (void)
term_box->draw (term_box, term_box->draw (term_box,
term_rect.x - term_box->get_left_pad (term_box), term_rect.x - term_box->get_left_pad (term_box),
term_rect.y - term_box->get_top_pad (term_box)); term_rect.y - term_box->get_top_pad (term_box));
grub_video_swap_buffers ();
if (term_view->double_repaint)
term_box->draw (term_box,
term_rect.x - term_box->get_left_pad (term_box),
term_rect.y - term_box->get_top_pad (term_box));
} }
static void static void