Removed check for NULL to glfwExtensionSupported.

master
Camilla Berglund ago%!(EXTRA string=11 years)
parent 023f337735
commit 4329a78011
  1. 2
      src/context.c

@ -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…
Cancel
Save