Login  Register

Re: unpack pixel_buffer_object must be bound to call this method

Posted by gouessej on Nov 27, 2017; 2:42pm
URL: https://forum.jogamp.org/unpack-pixel-buffer-object-must-be-bound-to-call-this-method-tp4038328p4038334.html

Don't mix the low level OpenGL API calls with the high level API calls. I still see neither tex.enable() nor gl.glEnable(GL.GL_TEXTURE_2D), either of them must be called before binding. Please look at our numerous JOGL examples, those of the Red Book, our unit tests and our demos in our Github repositories.
Julien Gouesse | Personal blog | Website