OvmfPkg/QemuVideoDxe: simplify InitializeBochsGraphicsMode
struct QEMU_VIDEO_MODE_DATA has all the data needed to set the video mode, there is no need to take the extra indirection and use struct QEMU_VIDEO_BOCHS_MODES. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
committed by
mergify[bot]
parent
929804b172
commit
7f25ddbc03
@@ -202,7 +202,7 @@ QemuVideoCirrusModeSetup (
|
||||
///
|
||||
/// Table of supported video modes
|
||||
///
|
||||
QEMU_VIDEO_BOCHS_MODES QemuVideoBochsModes[] = {
|
||||
STATIC QEMU_VIDEO_BOCHS_MODES QemuVideoBochsModes[] = {
|
||||
{ 640, 480, 32 },
|
||||
{ 800, 480, 32 },
|
||||
{ 800, 600, 32 },
|
||||
|
Reference in New Issue
Block a user