Login  Register

Re: glBufferData and glBufferSubData seems not to work

Posted by gouessej on Aug 19, 2011; 1:04pm
URL: https://forum.jogamp.org/glBufferData-and-glBufferSubData-seems-not-to-work-tp3267295p3267986.html

call vertexPositions.rewind() before calling gl.glBufferSubData(GL2.GL_ARRAY_BUFFER, 0, verticesSizeInBytes, vertexPositions)
Julien Gouesse | Personal blog | Website