mirror of
https://github.com/glfw/glfw.git
synced 2025-06-06 15:54:56 +00:00
Simplify code logic for glfwIsInitialized
.
This commit is contained in:
parent
0fc6fa88b3
commit
06137147a3
@ -437,11 +437,9 @@ GLFWAPI void glfwTerminate(void)
|
|||||||
terminate();
|
terminate();
|
||||||
}
|
}
|
||||||
|
|
||||||
GLFWAPI int glfwIsInitialized(void){
|
GLFWAPI int glfwIsInitialized(void)
|
||||||
if (_glfw.initialized)
|
{
|
||||||
return GLFW_TRUE;
|
return _glfw.initialized;
|
||||||
|
|
||||||
return GLFW_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GLFWAPI void glfwInitHint(int hint, int value)
|
GLFWAPI void glfwInitHint(int hint, int value)
|
||||||
|
Loading…
Reference in New Issue
Block a user