Hi
I noticed GL15.glMapBuffer is slightly different in LWJGL3
public static java.nio.ByteBuffer glMapBuffer(int target,
int access,
int length,
java.nio.ByteBuffer old_buffer)
In LWJGL2 I am using a long as the length, long is also used in the SubData version in LWJGL3
public static void glGetBufferSubData(int target,
long offset,
long size,
java.nio.ByteBuffer data)