mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Removed check for NULL to glfwExtensionSupported.
This commit is contained in:
parent
023f337735
commit
4329a78011
|
@ -599,7 +599,7 @@ GLFWAPI int glfwExtensionSupported(const char* extension)
|
|||
return GL_FALSE;
|
||||
}
|
||||
|
||||
if (!extension || *extension == '\0')
|
||||
if (*extension == '\0')
|
||||
{
|
||||
_glfwInputError(GLFW_INVALID_VALUE, NULL);
|
||||
return GL_FALSE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user