mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:06:04 +00:00
[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:
parent
c199fcbca2
commit
5cab971ae1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue