EmulatorPkg/EmuGopDxe: Clear screen to black in GOP.SetMode

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1118

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Cc: Andrew Fish <afish@apple.com>
This commit is contained in:
Ruiyu Ni 2018-08-24 11:22:57 +08:00
parent 158b558711
commit ce8c1d92f5
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
/*++ @file /*++ @file
Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved. Portions copyright (c) 2010 - 2011, Apple Inc. All rights reserved.
This program and the accompanying materials This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License are licensed and made available under the terms and conditions of the BSD License
@ -146,9 +146,9 @@ EmuGopSetMode (
); );
Fill.Red = 0x7f; Fill.Red = 0;
Fill.Green = 0x7F; Fill.Green = 0;
Fill.Blue = 0x7f; Fill.Blue = 0;
This->Blt ( This->Blt (
This, This,
&Fill, &Fill,