Esempio n. 1
0
File: time.c Progetto: csulmone/glfw
GLFWAPI double glfwGetTime(void)
{
    if (!_glfwInitialized)
    {
        _glfwInputError(GLFW_NOT_INITIALIZED, NULL);
        return 0.0;
    }

    return _glfwPlatformGetTime();
}
Esempio n. 2
0
File: time.c Progetto: Laar/GLFW-b
GLFWAPI double GLFWAPIENTRY glfwGetTime( void )
{
    // Is GLFW initialized?
    if( !_glfwInitialized )
    {
        return 0.0;
    }

    return _glfwPlatformGetTime();
}
Esempio n. 3
0
GLFWAPI double glfwGetTime(void)
{
    _GLFW_REQUIRE_INIT_OR_RETURN(0.0);
    return _glfwPlatformGetTime();
}