merge
This commit is contained in:
commit
e05550cc01
2 changed files with 10 additions and 1 deletions
10
ChangeLog.videomask
Normal file
10
ChangeLog.videomask
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
2009-11-20 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
Use flag-based instead of hook-based video mode selection and "auto"
|
||||||
|
keyword.
|
||||||
|
|
||||||
|
* include/grub/video.h (grub_video_adapter): Changed 'setup' member.
|
||||||
|
(grub_video_set_mode): Changed prototype. All users updated.
|
||||||
|
(grub_video_check_mode_flag): New inline function.
|
||||||
|
* video/video.c (parse_modespec): New function.
|
||||||
|
(grub_video_set_mode): Parse flags and keywords.
|
|
@ -624,7 +624,6 @@ grub_video_set_mode (const char *modestring,
|
||||||
/* Loop thru all possible video adapter trying to find requested mode. */
|
/* Loop thru all possible video adapter trying to find requested mode. */
|
||||||
for (p = grub_video_adapter_list; p; p = p->next)
|
for (p = grub_video_adapter_list; p; p = p->next)
|
||||||
{
|
{
|
||||||
grub_err_t err;
|
|
||||||
struct grub_video_mode_info mode_info;
|
struct grub_video_mode_info mode_info;
|
||||||
|
|
||||||
grub_memset (&mode_info, 0, sizeof (mode_info));
|
grub_memset (&mode_info, 0, sizeof (mode_info));
|
||||||
|
|
Loading…
Reference in a new issue