mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
one more possible fix
This commit is contained in:
1 parent
e420686f13
commit
7ca3f5c2d9
1 file changed
+2
@@ -258,8 +258,10 @@ grub_vbe_get_video_mode (grub_uint32_t *mode)
|
|||||||
|
|
||||||
/* Try to query current mode from VESA BIOS. */
|
/* Try to query current mode from VESA BIOS. */
|
||||||
status = grub_vbe_bios_get_mode (mode);
|
status = grub_vbe_bios_get_mode (mode);
|
||||||
|
#if 0
|
||||||
if (status != GRUB_VBE_STATUS_OK)
|
if (status != GRUB_VBE_STATUS_OK)
|
||||||
return grub_error (GRUB_ERR_BAD_DEVICE, "cannot get current VBE mode");
|
return grub_error (GRUB_ERR_BAD_DEVICE, "cannot get current VBE mode");
|
||||||
|
#endif
|
||||||
|
|
||||||
return GRUB_ERR_NONE;
|
return GRUB_ERR_NONE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user