Consume WM_ERASEBKGND.

This commit is contained in:
Camilla Berglund 2014-04-08 21:16:48 +02:00
parent 5e008ad074
commit 4fb5da75dc

View File

@ -733,6 +733,11 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
break;
}
case WM_ERASEBKGND:
{
return TRUE;
}
case WM_SETCURSOR:
{
if (_glfw.focusedWindow == window && LOWORD(lParam) == HTCLIENT)