* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous

bitmap.
	(grub_gfxterm_term_init): Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko committed 2011-04-19 22:31:50 +02:00
1 parent abc474ef4b
commit bba79a1502
2 files changed
+6 -7

No files matched your search

-7
View File
@@ -345,7 +345,6 @@ grub_gfxterm_fullscreen (void)
grub_video_swap_buffers ();
grub_video_fill_rect (color, 0, 0, mode_info.width, mode_info.height);
}
bitmap = 0;
/* Select the font to use. */
font_name = grub_env_get ("gfxterm_font");
@@ -394,12 +393,6 @@ grub_gfxterm_term_init (struct grub_term_output *term __attribute__ ((unused)))
static void
destroy_window (void)
{
if (bitmap)
{
grub_video_bitmap_destroy (bitmap);
bitmap = 0;
}
repaint_callback = 0;
grub_virtual_screen_free ();
}