Removed indirection made superfluous by introduction of cdecl.

master
Camilla Berglund ago%!(EXTRA string=14 years)
parent ccbb956341
commit 3d82683177
  1. 12
      src/init.c

@ -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;

Loading…
Cancel
Save