Line width not working on Linux

So after some searching the forum I found this topic. It seems like the line width was removed in newer opengl’s.

After I force the renderer to OPENGL2 it seems to work, however, why is it then working on Windows without OPENGL2?

settings.setRenderer(AppSettings.LWJGL_OPENGL2);