Removed GdiSetBatchLimit(512) from init:

- GdiSetBatchLimit() fails with 0
- GdiGetBatchLimit() returns 20
Removed GdiFlush from VideoRefreshScreen():
- GdiFlush() only for GDI draw functions (not StretchBlt!) that return a BOOL
This commit is contained in:
tomcw 2019-08-26 09:59:29 +01:00
parent 27284dad2b
commit a59b416dd9
2 changed files with 2 additions and 2 deletions

View File

@ -1551,7 +1551,7 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
// DO ONE-TIME INITIALIZATION
g_hInstance = passinstance;
GdiSetBatchLimit(512);
// GdiSetBatchLimit(512);
LogFileOutput("Init: GdiSetBatchLimit()\n");
GetProgramDirectory();

View File

@ -616,7 +616,7 @@ void VideoRefreshScreen ( uint32_t uRedrawWholeScreenVideoMode /* =0*/, bool bRe
SRCCOPY);
}
GdiFlush();
// GdiFlush();
}
//===========================================================================