1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

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>
//========================================================================
// Terminate GLFW when exiting application
//========================================================================
static void glfw_atexit(void)
{
glfwTerminate();
}
//////////////////////////////////////////////////////////////////////////
////// GLFW internal API //////
//////////////////////////////////////////////////////////////////////////
@ -125,7 +115,7 @@ GLFWAPI int glfwInitWithModels(GLFWthreadmodel* threading, GLFWallocator* alloca
return GL_FALSE;
}
atexit(glfw_atexit);
atexit(glfwTerminate);
_glfwInitialized = GL_TRUE;