mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Extension string type cleanup.
This commit is contained in:
+2
-4
@@ -509,10 +509,8 @@ void _glfwPlatformSwapInterval(int interval)
|
||||
|
||||
int _glfwPlatformExtensionSupported(const char* extension)
|
||||
{
|
||||
const GLubyte* extensions =
|
||||
(const GLubyte*) glXQueryExtensionsString(_glfw.x11.display,
|
||||
_glfw.x11.screen);
|
||||
|
||||
const char* extensions = glXQueryExtensionsString(_glfw.x11.display,
|
||||
_glfw.x11.screen);
|
||||
if (extensions)
|
||||
{
|
||||
if (_glfwStringInExtensionString(extension, extensions))
|
||||
|
||||
Reference in New Issue
Block a user