Login  Register

Re: Enabling OpenGL GL2 compatible profile on a certain machine - problem!

Posted by Mabula Haverkamp on Sep 12, 2018; 11:32am
URL: https://forum.jogamp.org/Enabling-OpenGL-GL2-compatible-profile-on-a-certain-machine-problem-tp4039189p4039192.html

Thank you for the quick response.

It's a regular modular built pc, so I guess optimus isn't installed, but I'll ask.

Please check out the screenshot:
https://www.astropixelprocessor.com/wp-content/uploads/2018/09/OpenGL-NvidiaGTX780-profiles.jpg

It shows you at the bottom what is reported by calling GLProfile.getMaxFixedFunc(true)

All GLProfile queries

GLProfile.getDefault();
GLProfile.getMaxFixedFunc(true);
GLProfile.getMaxProgrammable(true);
GLProfile.getMaximum(true);

return the GL4bc profile, which as I understand is Backwards compatible to GL2.

So no exceptions are thrown.

Any clue, perhaps it chooses GL4bc but then it still fails at

if (glProfile.isGL2()) {

}

which wouldn't make sense I think ?

Thanks,
Mabula