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:
parent
27284dad2b
commit
a59b416dd9
|
@ -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();
|
||||
|
|
|
@ -616,7 +616,7 @@ void VideoRefreshScreen ( uint32_t uRedrawWholeScreenVideoMode /* =0*/, bool bRe
|
|||
SRCCOPY);
|
||||
}
|
||||
|
||||
GdiFlush();
|
||||
// GdiFlush();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
|
Loading…
Reference in New Issue