Login  Register

How to force core profile

Posted by chrtom on Feb 21, 2013; 12:09am
URL: https://forum.jogamp.org/How-to-force-core-profile-tp4028307.html

Is there a way to tell JOGL to use the core profile (and avoid the compatibility profile). I tried GLProfile.get(GLProfile.GL3), GLProfile.get(GLProfile.GL4), and GLProfile.getDefault(). But I always end up with a:

>> Native[GL4bc true [4.2 (Compatibility profile, arb, ES2 compatible, FBO, hardware)]

This is not a "core" profile. In native C/C++ and freeGLUT I'm able to select the core profile, which I need explicitly, because the profiles have slightly different behavior in terms of rendering when using glVertexAttrib without any VAO bound.

How can I force the core profile in JOGL?

Thanks for any advice!