From 4329a78011eb1cfb9197ee6858f497f6fff43bfd Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 6 Jan 2015 20:28:15 +0100 Subject: [PATCH] Removed check for NULL to glfwExtensionSupported. --- src/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context.c b/src/context.c index 99d7489f..f8b80085 100644 --- a/src/context.c +++ b/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;