Hello!
I used ATI card but a few days ago I bought a NVidia card. With my ATI card, I used GLCanvas. It worked very well (testing with glDrawable.setGL(new DebugGL(glDrawable.getGL()));), but with NVidia card it doesn’t work at all. The screen is flicking, and I got this message:
WARNING: antialiasing will be disabled because the DefaultGLCapabilitiesChooser didn’t supply it
I changed the GLCanvas to GLJPanel, it doesn’t flicking, but when I resize the JFrame, my GLEventListener is reinitialized by the GLJPanel.
In the init method of my GLEventListener , I test some extension (like:GL_ARB_vertex_buffer_object) using: gl.isExtensionAvailable(glExtensionName)), but when I resize my window, and the GLEventListener reinitialize itself, the gl.isExtensionAvailable(glExtensionName)) returns always false, and then I NullPointerException for all of my VBOs.
What is the problem?
Thanks.