Removed indirection made superfluous by introduction of cdecl.

This commit is contained in:
Camilla Berglund 2011-03-07 14:13:47 +01:00
parent ccbb956341
commit 3d82683177

View File

@ -35,16 +35,6 @@
#include <stdlib.h> #include <stdlib.h>
//========================================================================
// Terminate GLFW when exiting application
//========================================================================
static void glfw_atexit(void)
{
glfwTerminate();
}
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
////// GLFW internal API ////// ////// GLFW internal API //////
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
@ -125,7 +115,7 @@ GLFWAPI int glfwInitWithModels(GLFWthreadmodel* threading, GLFWallocator* alloca
return GL_FALSE; return GL_FALSE;
} }
atexit(glfw_atexit); atexit(glfwTerminate);
_glfwInitialized = GL_TRUE; _glfwInitialized = GL_TRUE;