mirror of
https://github.com/opnsense/src.git
synced 2026-02-27 03:40:37 -05:00
loader efifb: implement uga_autoresize as a call to text_autoresize
UGA does not have the same kind of mode enumeration that GOP does. Implement it instead as a call to text_autoresize so that firmwares with only UGA present still get some kind of autoresizing behavior. While here, rename a typo'd "gop" to "uga", although it will remain unused for the time being.
This commit is contained in:
parent
b93a1086cf
commit
76e00374d2
1 changed files with 2 additions and 2 deletions
|
|
@ -611,10 +611,10 @@ text_autoresize()
|
|||
}
|
||||
|
||||
static int
|
||||
uga_autoresize(EFI_UGA_DRAW_PROTOCOL *gop)
|
||||
uga_autoresize(EFI_UGA_DRAW_PROTOCOL *uga)
|
||||
{
|
||||
|
||||
return (CMD_OK);
|
||||
return (text_autoresize());
|
||||
}
|
||||
|
||||
COMMAND_SET(efi_autoresize, "efi-autoresizecons", "EFI Auto-resize Console", command_autoresize);
|
||||
|
|
|
|||
Loading…
Reference in a new issue