mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Removed indirection made superfluous by introduction of cdecl.
This commit is contained in:
parent
ccbb956341
commit
3d82683177
12
src/init.c
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…
Reference in New Issue
Block a user