Get rid of unnecessary else statement.

This commit is contained in:
siavash 2013-07-04 23:46:16 +04:30
parent b2fa10ae5b
commit 92adb6d266

View File

@ -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);
}
} }