Revision: 14067
http://edk2.svn.sourceforge.net/edk2/?rev=14067&view=rev
Author: vanjeff
Date: 2013-01-18 02:22:42 +0000 (Fri, 18 Jan 2013)
Log Message:
-----------
Sync patch r14023 from main trunk.
Set graphic mode if graphic mode is not same with the one which GraphicsConsole
driver find by itself.
Revision Links:
--------------
http://edk2.svn.sourceforge.net/edk2/?rev=14023&view=rev
Modified Paths:
--------------
branches/UDK2010.SR1/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
Modified:
branches/UDK2010.SR1/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
===================================================================
---
branches/UDK2010.SR1/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
2013-01-18 02:21:33 UTC (rev 14066)
+++
branches/UDK2010.SR1/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
2013-01-18 02:22:42 UTC (rev 14067)
@@ -497,6 +497,19 @@
}
}
}
+ if (ModeNumber != Private->GraphicsOutput->Mode->Mode) {
+ //
+ // Current graphics mode is not set or is not set to the mode which we
has found,
+ // set the new graphic mode.
+ //
+ Status = Private->GraphicsOutput->SetMode (Private->GraphicsOutput,
ModeNumber);
+ if (EFI_ERROR (Status)) {
+ //
+ // The mode set operation failed
+ //
+ goto Error;
+ }
+ }
} else if (FeaturePcdGet (PcdUgaConsumeSupport)) {
//
// At first try to set user-defined resolution
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits