Re: MacOSX exception: BackingLayerHost w/ unknown handle
Posted by uhok on Feb 05, 2019; 7:16pm
URL: https://forum.jogamp.org/MacOSX-exception-BackingLayerHost-w-unknown-handle-tp4039399p4039481.html
I'm new to JOGL, and I am also experiencing a similar issue.
I am trying to port an existing JOGL application that currently runs on windows + linux to mac, and when I call `makeCurrent()` I get the same error. The error goes away if I call `isFBO(true)` in the associated GLCapabilities, but when I do this `offscreen` is also set to true, resulting in no visible content being drawn.
The default GLCapabilities I receive from the following has isFBO, isPBuffer, and isBitmap all false by default, and onscreen true.
GLProfile glProfile = GLProfile.get(GLProfile.GL4);
GLCapabilities glCaps = new GLCapabilities(glProfile);
I am not sure why it is that this code works on windows + linux but not on mac. Any guidance would be appreciated, and I would be glad to provide any additional necessary information.