Depends on what OpenGL version you’re using. There’s a glLineWidth() call that you can use to set the line width. It’s still supported in the core profile, but marked as deprecated. So you won’t be able to set a line width larger than 1.0 in a forward-compatible core profile context.