Slow down the off-screen rendering timer to avoid excessive CPU usage.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@210 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
b90978f659
commit
122366e89e
|
@ -520,7 +520,7 @@ LRESULT CALLBACK PluginWndProc(HWND hWnd, UINT message, WPARAM wParam,
|
|||
{
|
||||
case WM_CREATE:
|
||||
// Start the timer that's used for redrawing.
|
||||
SetTimer(hWnd, 1, USER_TIMER_MINIMUM, NULL);
|
||||
SetTimer(hWnd, 1, 20, NULL);
|
||||
return 0;
|
||||
|
||||
case WM_DESTROY:
|
||||
|
|
Loading…
Reference in New Issue