]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
one more possible fix
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 14 Dec 2009 17:16:32 +0000 (18:16 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 14 Dec 2009 17:16:32 +0000 (18:16 +0100)
video/i386/pc/vbe.c

index c5c4e64ca170dfccf69a780b1c111de9cf8e65fb..ad87aa441db10d5a623d70950002f08f8aed2363 100644 (file)
@@ -258,8 +258,10 @@ grub_vbe_get_video_mode (grub_uint32_t *mode)
 
   /* Try to query current mode from VESA BIOS.  */
   status = grub_vbe_bios_get_mode (mode);
+#if 0
   if (status != GRUB_VBE_STATUS_OK)
     return grub_error (GRUB_ERR_BAD_DEVICE, "cannot get current VBE mode");
+#endif
 
   return GRUB_ERR_NONE;
 }