I have a weird issue. I've used JOGL before for a game, but it isn't working this time. I have a GLJPanel as the content pane of my JFrame, and am trying to render with vertex objects. With a GL2 it works fine. However, I need GL4 for bindless textures, and upgrading to version 3 or 4 causes errors.
The clear color is working, but whatever I'm trying to draw works fine for one frame then disappears. I think this is because I'm not unbinding the vao at the end of the frame, but when I unbind it, I get GL_INVALID_OPERATION on all following frames. Has this sort of thing ever happened before? Here's a
reddit post with my code (explanation is a bit outdated)