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,
|
||||
True);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
return glXCreateNewContext(_glfw.x11.display,
|
||||
fbconfig,
|
||||
GLX_RGBA_TYPE,
|
||||
share,
|
||||
True);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user