Re: glGetError 0x505 -> memory blocks to small?

Posted by Vasilij on
URL: https://forum.jogamp.org/glGetError-0x505-memory-blocks-to-small-tp4032702p4032705.html

With methods
gl.glDeleteTextures( 1, new int[] { textureId }, 0 );
gl.glDeleteBuffers(1, new int[] { vboId }, 0);

And then, with sun.misc.Cleaner i delete DirectBuffers:
- ByteBuffer for image data
- FloatBuffer for vertices