Skip to content
Snippets Groups Projects
Commit 5174357a authored by deuce's avatar deuce
Browse files

Call SetConsoleScreenBufferSize() twice instead.

parent 07397260
Branches
Tags
No related merge requests found
......@@ -255,9 +255,9 @@ void win32_textmode(int mode)
rc.Right=vid_modes[modeidx].xsize-1;
rc.Top=0;
rc.Bottom=vid_modes[modeidx].ysize-1;
SetConsoleWindowInfo(GetStdHandle(STD_OUTPUT_HANDLE),TRUE,&rc);
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE),sz);
SetConsoleWindowInfo(GetStdHandle(STD_OUTPUT_HANDLE),TRUE,&rc);
SetConsoleScreenBufferSize(GetStdHandle(STD_OUTPUT_HANDLE),sz);
}
int win32_gettext(int left, int top, int right, int bottom, void* buf)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment