Re: GL Version check behavior clarification

Posted by Sven Gothel on
URL: https://forum.jogamp.org/GL-Version-check-behavior-clarification-tp4032479p4032502.html

On 06/28/2014 04:31 AM, bgroenks96 [via jogamp] wrote:
> I think I'm using a GL2 profile by default.
>
> The comment on that source method indicates that it shouldn't return true for
> desktop profiles that are ES compatible.  So why would it return true on my
> system?

If you have a GL2 context, and isGLES2() returns true it is an error,
since this would lead software to believe you have an ES (embedded system)
context.

This would be a bug, which I cannot confirm.

However, it could be that you do use an ES profile even on desktop,
i.e. via Mesa or NV driver - which can deliver you an ES3 context.

~Sven



signature.asc (894 bytes) Download Attachment