mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 08:09:22 +00:00
* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
bitmap. (grub_gfxterm_term_init): Likewise.
This commit is contained in:
1 parent
abc474ef4b
commit
bba79a1502
2 files changed
+6
-7
No files matched your search
@@ -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 ();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user