diff options
author | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-24 11:22:57 +0800 |
---|---|---|
committer | Ruiyu Ni <ruiyu.ni@intel.com> | 2018-08-31 10:40:08 +0800 |
commit | ce8c1d92f5f0c90e1914c61d7f747bf332874ce3 (patch) | |
tree | 936fe5bee8786816d060ccfc6474828094e65b4e /EmulatorPkg/EmuGopDxe | |
parent | 158b558711f5fec395b88dd64fc0d134648620d6 (diff) | |
download | edk2-ce8c1d92f5f0c90e1914c61d7f747bf332874ce3.tar.gz edk2-ce8c1d92f5f0c90e1914c61d7f747bf332874ce3.tar.bz2 edk2-ce8c1d92f5f0c90e1914c61d7f747bf332874ce3.zip |
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>
Diffstat (limited to 'EmulatorPkg/EmuGopDxe')
-rw-r--r-- | EmulatorPkg/EmuGopDxe/GopScreen.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/EmulatorPkg/EmuGopDxe/GopScreen.c b/EmulatorPkg/EmuGopDxe/GopScreen.c index 761d945c15..b6d1b6c6c8 100644 --- a/EmulatorPkg/EmuGopDxe/GopScreen.c +++ b/EmulatorPkg/EmuGopDxe/GopScreen.c @@ -1,6 +1,6 @@ /*++ @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.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -146,9 +146,9 @@ EmuGopSetMode ( );
- Fill.Red = 0x7f;
- Fill.Green = 0x7F;
- Fill.Blue = 0x7f;
+ Fill.Red = 0;
+ Fill.Green = 0;
+ Fill.Blue = 0;
This->Blt (
This,
&Fill,
|