* grub-core/commands/videoinfo.c (hook): Show pitch.
This commit is contained in:
parent
1e1eb50e5e
commit
6cce6f3864
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/commands/videoinfo.c (hook): Show pitch.
|
||||
|
||||
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub.d/20_linux_xen.in: Skip xen-syms.
|
||||
|
|
|
@ -49,7 +49,8 @@ hook (const struct grub_video_mode_info *info)
|
|||
grub_printf (" ");
|
||||
grub_printf (" 0x%03x ", info->mode_number);
|
||||
}
|
||||
grub_printf ("%4d x %4d x %2d ", info->width, info->height, info->bpp);
|
||||
grub_printf ("%4d x %4d x %2d (%4d) ", info->width, info->height, info->bpp,
|
||||
info->pitch);
|
||||
|
||||
if (info->mode_type & GRUB_VIDEO_MODE_TYPE_PURE_TEXT)
|
||||
grub_xputs (_("Text-only "));
|
||||
|
|
Loading…
Reference in a new issue