Login  Register

Re: NPE when getting GLDrawableFactory

Posted by Wade Walker on Jan 21, 2011; 1:19am
URL: https://forum.jogamp.org/NPE-when-getting-GLDrawableFactory-tp2276026p2298968.html

The library definitely shouldn't throw an NPE, so this bug is certainly legitimate, but the info you want may not be accessible without creating a window, at least with GL2 (info here: http://www.opengl.org/wiki/Creating_an_OpenGL_Context). It sounds like the ability to create a GL context without a window didn't show up until GL3. I don't have direct experience with this however, so one of the other guys may know different.