do not repaint the window (should speed up the drawing)

SVN revision: 34524
This commit is contained in:
doursse 2008-05-10 08:57:02 +00:00 committed by doursse
parent d8d00d5e5a
commit 29d8dd954d
1 changed files with 3 additions and 0 deletions

View File

@ -119,6 +119,9 @@ MainWndProc(HWND hwnd,
case WM_CLOSE:
PostQuitMessage(0);
return 0;
case WM_PAINT:
ValidateRect(hwnd, NULL);
return 0;
case WM_KEYDOWN:
case WM_SYSKEYDOWN: {
if (backend == 1)