Login  Register

Re: unpack pixel_buffer_object must be bound to call this method

Posted by gouessej on Nov 28, 2017; 8:56am
URL: https://forum.jogamp.org/unpack-pixel-buffer-object-must-be-bound-to-call-this-method-tp4038328p4038336.html

You're welcome. Keep in mind that we can't provide demos covering all possible combinations of methods but those examples may help:
https://github.com/gouessej/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/jogl/util/texture/TestJPEGJoglAWTBenchmarkNewtAWT.java
https://github.com/gouessej/jogl/blob/master/src/test/com/jogamp/opengl/test/junit/jogl/util/texture/TestPNGTextureFromFileAWT.java
https://github.com/gouessej/jogl-demos/blob/master/src/redbook/src/glredbook11/texbind.java

Warning: Some code above needs an update as it uses obsolete package names and call "GLU.createGLU(GL)" rather than "new GLU()".
Julien Gouesse | Personal blog | Website