Merged time functions into input module.

This commit is contained in:
Camilla Berglund
2014-10-08 02:48:32 +02:00
parent bb98eae131
commit 5f13279557
3 changed files with 13 additions and 47 deletions
+12
View File
@@ -567,3 +567,15 @@ GLFWAPI const char* glfwGetClipboardString(GLFWwindow* handle)
return _glfwPlatformGetClipboardString(window);
}
GLFWAPI double glfwGetTime(void)
{
_GLFW_REQUIRE_INIT_OR_RETURN(0.0);
return _glfwPlatformGetTime();
}
GLFWAPI void glfwSetTime(double time)
{
_GLFW_REQUIRE_INIT();
_glfwPlatformSetTime(time);
}