Login  Register

Re: [JOGL] VBO's not updating

Posted by gouessej on Jun 02, 2015; 11:59am
URL: https://forum.jogamp.org/JOGL-VBO-s-not-updating-tp4034566p4034575.html

You should use directly the direct NIO buffers you create instead of creating temporary arrays just to transfer their contents into the buffers.

As the limit is already set to the capacity, you should call rewind() instead of flip().
Julien Gouesse | Personal blog | Website