mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-06-14 08:29:34 +00:00
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
|
// DO ONE-TIME INITIALIZATION
|
||||||
g_hInstance = passinstance;
|
g_hInstance = passinstance;
|
||||||
GdiSetBatchLimit(512);
|
// GdiSetBatchLimit(512);
|
||||||
LogFileOutput("Init: GdiSetBatchLimit()\n");
|
LogFileOutput("Init: GdiSetBatchLimit()\n");
|
||||||
|
|
||||||
GetProgramDirectory();
|
GetProgramDirectory();
|
||||||
|
|
|
@ -616,7 +616,7 @@ void VideoRefreshScreen ( uint32_t uRedrawWholeScreenVideoMode /* =0*/, bool bRe
|
||||||
SRCCOPY);
|
SRCCOPY);
|
||||||
}
|
}
|
||||||
|
|
||||||
GdiFlush();
|
// GdiFlush();
|
||||||
}
|
}
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
Loading…
Reference in New Issue
Block a user