mirror of
https://github.com/glfw/glfw.git
synced 2025-07-29 11:00:04 +00:00
Get rid of unnecessary else statement.
This commit is contained in:
parent
b2fa10ae5b
commit
92adb6d266
@ -191,14 +191,12 @@ static GLXContext createLegacyContext(_GLFWwindow* window,
|
|||||||
share,
|
share,
|
||||||
True);
|
True);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
return glXCreateNewContext(_glfw.x11.display,
|
||||||
return glXCreateNewContext(_glfw.x11.display,
|
fbconfig,
|
||||||
fbconfig,
|
GLX_RGBA_TYPE,
|
||||||
GLX_RGBA_TYPE,
|
share,
|
||||||
share,
|
True);
|
||||||
True);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user