jmaasing wrote
I haven't looked into the source to see what is happening in jogl but when I do:
final GLCapabilities caps = new GLCapabilities(GLProfile.get(GLProfile.GL4));
caps.setSampleBuffers(true);
caps.setNumSamples(8);
GLWindow glWindow = GLWindow.create(caps);
I get MSAA without doing anything else in my NEWT window.
So I guess that means that either glEnable/glDisable have no effect or that when you set the capabilities accordingly MSAA is enabled by default.
The latter would mean that you could, in theory, use glDisable(GL2.MULTISAMPLE) to disable it. Of course, I don't know which explanation is correct...
Very interesting. Thanks for your input.