]> git.proxmox.com Git - mirror_edk2.git/commit
EmulatorPkg/EmuGopDxe: Set ModeInfo after Open successfully
authorGuomin Jiang <guomin.jiang@intel.com>
Tue, 22 Feb 2022 03:29:23 +0000 (11:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 3 Mar 2022 05:17:46 +0000 (05:17 +0000)
commitb422b0fcf92dd4103dfc16d8d5f77fbec2d8c5b9
tree4443a732f23761c3f5a4a3d1528a26e4c0052360
parent906242343f7a654402f6f999d447aa9d29a8f4d4
EmulatorPkg/EmuGopDxe: Set ModeInfo after Open successfully

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

WindowOpen will fail in some case. for example, without XServer.

Shouldn't set ModeInfo in this case to avoid the caller use it
incorrectly

Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
EmulatorPkg/EmuGopDxe/GopScreen.c