Simplified call to platform-specific extension check.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 1bad573c10
commit a916997c86
  1. 7
      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);
}

Loading…
Cancel
Save