GLException: context > GL2 requested 3.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

GLException: context > GL2 requested 3.0

Andy Skinner
What does this exception mean?

Are we requesting an OpenGL feature higher than what is available?

We've set up drawing into an FBO, and then called GLAutoDrawable.display().

thanks
andy
Reply | Threaded
Open this post in threaded view
|

Re: GLException: context > GL2 requested 3.0

Sven Gothel
Administrator
On 02/15/2013 10:46 PM, Andy Skinner [via jogamp] wrote:
> What does this exception mean?
>
> Are we requesting an OpenGL feature higher than what is available?

Yes.

OpenGL 3.0 is mapped to GL2, GL3 starts w/ OpenGL 3.1
but no ARB context (X11 or Windows) could be created 'that high'.

>
> We've set up drawing into an FBO, and then called GLAutoDrawable.display().

Must have been Window, X11 exception looks similar but more verbose.
Added verbosity to Windows as well.

Maybe run the etc/tests.sh to see whats available.

~Sven

--
health & wealth
mailto:[hidden email] ; http://jausoft.com
land : +49 (471) 4707742 ; fax : +49 (471) 4707741
Timezone CET: PST+9, EST+6, UTC+1


signature.asc (911 bytes) Download Attachment