mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
OcConsoleLib: Do not break console mode after changing resolution
This commit is contained in:
parent
be0cecafd6
commit
475d12bca2
@ -389,10 +389,11 @@ SetConsoleResolution (
|
||||
|
||||
FreePool (HandleBuffer);
|
||||
|
||||
Status = gST->ConOut->SetMode (gST->ConOut, 0);
|
||||
if (EFI_ERROR (Status)) {
|
||||
DEBUG ((DEBUG_WARN, "OCS: Mode set on ConOut failed after reconnect\n"));
|
||||
}
|
||||
//
|
||||
// It is implementation defined, which console mode is used by ConOut.
|
||||
// Assume the implementation chooses most sensible value based on GOP resolution.
|
||||
// If it does not, there is a separate ConsoleMode param, which expands to SetConsoleMode.
|
||||
//
|
||||
} else {
|
||||
DEBUG ((DEBUG_WARN, "OCS: Failed to find any text output handles\n"));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user