Added input function for window damage events.

This commit is contained in:
Camilla Berglund
2011-10-09 21:12:13 +02:00
parent de147988f2
commit 72ef537425
4 changed files with 14 additions and 6 deletions
+1 -3
View File
@@ -1069,9 +1069,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
// Was the window contents damaged?
case WM_PAINT:
{
if (_glfwLibrary.windowRefreshCallback)
_glfwLibrary.windowRefreshCallback(window);
_glfwInputWindowDamage(window);
break;
}