Re: OSX Lion issues (PBuffers)
Posted by
JStoecker on
Jul 30, 2012; 6:16am
URL: https://forum.jogamp.org/OSX-Lion-issues-PBuffers-tp4021385p4025699.html
Lukasz,
I ran into this strange problem on Mountain Lion too. If I have the following:
GLProfile glp = GLProfile.get(GLProfile.GL2);
GLCapabilities glc = new GLCapabilities(glp);
GLCanvas canvas = new GLCanvas(glc);
canvas.addGLEventListener(new Test());
JFrame window = new JFrame("faosidjf");
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.setSize(800,600);
window.add(canvas);
window.setVisible(true);
... I get the same crash as you have above. This is fixed if I enabled multisampling on the GLCanvas:
glc.setSampleBuffers(true);