Skip to content
Advertisement

Tag: jogl

How to retrieve a GL2 instance?

I am currently writting a game with the JOGL bindings to use OpenGL but I am so struggling on this. I need to initialize my vaos and vbos (for each component) using the GL2 variable that I collected in the init method in the class that implements GLEventListener. Like so, But this variable is null when I want to use

Advertisement