Hi!
I have just compiled JOGL 2 from source and I have a memory leak. GLException instances containing the following message are constantly created:
Java2D OpenGL pipeline not active (or necessary support not present)
What can I do? I can enable the OpenGL pipeline on Linux but it might cause some problems on Windows. This source code is the root cause of this problem:
private static void checkActive() {
if (!isOGLPipelineActive()) {
throw new GLException("Java2D OpenGL pipeline not active (or necessary support not present)");
}
}
Couldn't we create this instance once only and throw it each time?