Login  Register

Re: GLPROFILE freezes

Posted by Roland Schützig on Apr 29, 2024; 3:39am
URL: https://forum.jogamp.org/GLPROFILE-freezes-tp4043455p4043457.html

Hi Julien. Thanks for coming back promptly.

You brought me on the right track. I simply skipped the inquiry for the default profile and went directly for one of the profiles in GL_PROFILE_LIST_MAX (e.g. "GL2") and it works now.

    val gp: GLProfile = GLProfile.get(GLProfile.GL2)
    val cap: GLCapabilities = GLCapabilities(gp)
    val gc: GLCanvas = GLCanvas(cap)
    ....

Roland