Login  Register

Re: unusable profile selected with GL2ES2 capabilities - a bug or a ..feature?

Posted by gouessej on Aug 30, 2013; 2:28pm
URL: https://forum.jogamp.org/unusable-profile-selected-with-GL2ES2-capabilities-a-bug-or-a-feature-tp4029916p4029923.html

eimaiosatanas wrote
The thing that bugged me the most though is that I tried to get a pure GLES2 profile, which is not supported natively by the desktop vga and the call fails with an exception. Wouldn't it be preferable instead of failing with an exception to return a profile with backwards compatibility (and GL ES 2.0 support), such as GL4bc/GL3bc or even GL2?
No it is a bad idea in my humble opinion because you can still catch this exception and you can know which profiles are supported anyway before trying to use a particular one, I do that in Ardor3D.
Julien Gouesse | Personal blog | Website