Re: JOGL OpenGL ES error in NetBeans
Posted by
gouessej on
Oct 26, 2015; 9:56am
URL: https://forum.jogamp.org/JOGL-OpenGL-ES-error-in-NetBeans-tp4035582p4035595.html
Good idea, increase the complexity step by step to find the culprit.
If it happens when calling glDrawArrays or glDrawElements, it will mean that you probably wrongly set the position of a direct NIO buffer when using vertex arrays, VBOs, VAOs, ... and the native code tries to read beyond the limit or the capacity of the buffer.