mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 10:48:51 -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>
|
#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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user