mirror of
https://github.com/glfw/glfw.git
synced 2024-11-13 14:03:52 +00:00
Simplified call to platform-specific extension check.
This commit is contained in:
parent
1bad573c10
commit
a916997c86
@ -639,11 +639,8 @@ GLFWAPI int glfwExtensionSupported(const char* extension)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Additional platform specific extension checking (e.g. WGL)
|
// Check if extension is in the platform-specific string
|
||||||
if (_glfwPlatformExtensionSupported(extension))
|
return _glfwPlatformExtensionSupported(extension);
|
||||||
return GL_TRUE;
|
|
||||||
|
|
||||||
return GL_FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user