Login  Register

Re: OSX Lion issues (PBuffers)

Posted by Sven Gothel on Aug 02, 2012; 7:07am
URL: https://forum.jogamp.org/OSX-Lion-issues-PBuffers-tp4021385p4025728.html

On 07/30/2012 09:16 AM, JStoecker [via jogamp] wrote:

> 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);
Can you test w/ latest code ?
If you cannot compile JOGL, pls try w/ latest RC build aggregated here:
  <http://jogamp.org/deployment/archive/rc/gluegen_49-joal_29-jogl_60-jocl_38/>
and signed here:
  <http://jogamp.org/deployment/archive/rc/gluegen_49-joal_29-jogl_60-jocl_38-signed/>

Note: This is not yet RC10!

The changeset includes a fix to capabilities settings of alpha & msaa,
however, I am unsure if this is related.

~Sven


signature.asc (910 bytes) Download Attachment