mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Removed superfluous nonsense.
This commit is contained in:
+1
-6
@@ -49,14 +49,10 @@ GLFWAPI int glfwInit(void)
|
||||
|
||||
memset(&_glfwLibrary, 0, sizeof(_glfwLibrary));
|
||||
|
||||
// Clear window hints
|
||||
_glfwClearWindowHints();
|
||||
|
||||
// Platform specific initialization
|
||||
if (!_glfwPlatformInit())
|
||||
return GL_FALSE;
|
||||
|
||||
// Form now on, GLFW state is valid
|
||||
// From now on, GLFW state is valid
|
||||
_glfwInitialized = GL_TRUE;
|
||||
|
||||
return GL_TRUE;
|
||||
@@ -72,7 +68,6 @@ GLFWAPI void glfwTerminate(void)
|
||||
if (!_glfwInitialized)
|
||||
return;
|
||||
|
||||
// Platform specific termination
|
||||
if (!_glfwPlatformTerminate())
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user