mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-02-08 11:52:02 +08:00
tune
This commit is contained in:
@@ -771,8 +771,6 @@ void __mg_update_secondary_dc (PMAINWIN pWin, HDC secondary_dc,
|
||||
secondary_dc, real_dc, update_rc, &clip_rc, &clip_rc);
|
||||
}
|
||||
}
|
||||
|
||||
//SyncUpdateDC (real_dc);
|
||||
}
|
||||
|
||||
static void draw_secondary_nc_area (PMAINWIN pWin,
|
||||
@@ -5746,6 +5744,8 @@ HDC GUIAPI BeginPaint (HWND hWnd)
|
||||
return hdc;
|
||||
}
|
||||
|
||||
/* Since 5.0.0
|
||||
Call SyncUpdateDC only in EndPaint can eliminate flickers effectively. */
|
||||
void GUIAPI EndPaint (HWND hWnd, HDC hdc)
|
||||
{
|
||||
BOOL synced = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user