Simplify code logic for glfwIsInitialized.

This commit is contained in:
Abhi 2025-03-12 14:58:28 -06:00 committed by GitHub
parent 0fc6fa88b3
commit 06137147a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -437,11 +437,9 @@ GLFWAPI void glfwTerminate(void)
terminate();
}
GLFWAPI int glfwIsInitialized(void){
if (_glfw.initialized)
return GLFW_TRUE;
return GLFW_FALSE;
GLFWAPI int glfwIsInitialized(void)
{
return _glfw.initialized;
}
GLFWAPI void glfwInitHint(int hint, int value)