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
+11
View File
@@ -195,6 +195,17 @@ void _glfwInputWindowIconify(_GLFWwindow* window, int iconified)
}
//========================================================================
// Register window damage events
//========================================================================
void _glfwInputWindowDamage(_GLFWwindow* window)
{
if (_glfwLibrary.windowRefreshCallback)
_glfwLibrary.windowRefreshCallback(window);
}
//////////////////////////////////////////////////////////////////////////
////// GLFW public API //////
//////////////////////////////////////////////////////////////////////////