[NTVDM]: Initialize the correct buffer! (aka. fix confusion between ConsoleFramebuffer and Graphics Framebuffer; fixes text -> graphic transitions). Addendum for r68812

svn path=/trunk/; revision=68819
This commit is contained in:
Hermès Bélusca-Maïto 2015-08-25 12:46:40 +00:00
parent c199fcbca2
commit 5cab971ae1

View file

@ -1014,7 +1014,7 @@ static BOOL VgaEnterGraphicsMode(PCOORD Resolution)
ConsoleMutex = GraphicsBufferInfo.hMutex;
/* Clear the framebuffer */
RtlZeroMemory(ConsoleFramebuffer, BitmapInfo->bmiHeader.biSizeImage);
RtlZeroMemory(GraphicsFramebuffer, BitmapInfo->bmiHeader.biSizeImage);
/* Set the active buffer */
VgaSetActiveScreenBuffer(GraphicsConsoleBuffer);