TextRenderer incorrectly requires openGL context

Hi, this is similar to the the TextureData bug I think. If I innocently try to grab the fontRenderContext for some TextRenderer like so


frc = textRenderer.getFontRenderContext();

then I get this exception:


javax.media.opengl.GLException: No OpenGL context current on this thread

The actual issue occurs at line 617 of com.sun.opengl.util.awt.TextureRenderer.init(int w, int h), which is:


GL2 gl = GLContext.getCurrentGL().getGL2();

Yet the GL2 variable “gl” is not used in the method anywhere.

-sj

Hi, I just did a git pull for the latest jogl2 sources and it looks like this bug hasn’t been fixed. Also no one seems to have responded to the bug I posted on the issue tracker on the kenai site. Are submitted issues are going to be acknowledged and responded to?

-sj