From a916997c864b1f55e05881ef714670c3155f9c3c Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 2 Aug 2012 15:32:39 +0200 Subject: [PATCH] Simplified call to platform-specific extension check. --- src/opengl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/opengl.c b/src/opengl.c index 812d1c53..01609d86 100644 --- a/src/opengl.c +++ b/src/opengl.c @@ -639,11 +639,8 @@ GLFWAPI int glfwExtensionSupported(const char* extension) } } - // Additional platform specific extension checking (e.g. WGL) - if (_glfwPlatformExtensionSupported(extension)) - return GL_TRUE; - - return GL_FALSE; + // Check if extension is in the platform-specific string + return _glfwPlatformExtensionSupported(extension); }