]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 19 Apr 2011 20:31:50 +0000 (22:31 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 19 Apr 2011 20:31:50 +0000 (22:31 +0200)
bitmap.
(grub_gfxterm_term_init): Likewise.

ChangeLog
grub-core/term/gfxterm.c

index 79d868f867b6412e2884f4c82445966300ce829e..2eade534dc90e72a3395549d94f4396f047a47c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-19  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/term/gfxterm.c (grub_gfxterm_fullscreen): Preserve previous
+       bitmap.
+       (grub_gfxterm_term_init): Likewise.
+
 2011-04-19  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Take into account the decorations the computing menu entry width.
index 0ade65f2757a27d7ec7412960f0008930b85b737..e58d6722d4d8023ec3c22d5b29902d7244a18748 100644 (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 ();
 }