]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/HiiDatabase: Preinit background when render string to screen
authorDandan Bi <dandan.bi@intel.com>
Tue, 31 May 2016 08:44:47 +0000 (16:44 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 6 Jun 2016 06:08:31 +0000 (14:08 +0800)
commit0672c2cdfebd35af3e68fe0b54408852bf314759
tree9cee5fc4a945f9c5bdb5d23b8bd8ecc3bd5f123e
parent3ab41b7a325ca11a12b42f5ad1661c4b6791cb49
MdeModulePkg/HiiDatabase: Preinit background when render string to screen

When render string to screen, for proportional fonts,
the background color may not set to the whole BltBuffer.
And this will cause incorrect display.
Now initialize the background color to fix this issue.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/HiiDatabaseDxe/Font.c