Hey new here, and new to OpenGL I also will apologize if there has already been a thread or a discussion (as I am a bit lazy to use the Search function and didn't really find anything that pertained to my question when I did) Anyways the issue is that I'm building a 3D game engine in Java using OpenGL and the LWJGL and i'm trying to get multi-texturing to work however when I try to render it (with a glDrawElements() call
Code :
glBindBuffer( GL_ELEMENT_ARRAY_BUFFER, indexBuffer );
glDrawElements(GL_TRIANGLES, m_index.length, GL_UNSIGNED_INT, (long)0);
I get the error of "cannot use an offset when ELEMENT_ARRAY_BUFFER is disabled" which is driving me mad and I've been caught on this for 3 weeks now and I really need to move on from it.
3dgep.com/?p=1116
this is the site that i'm trying to convert C++ to Java from to get the very effect shown in it.

If anyone can help me solve this issue, and maybe explain how Buffers and the like work would be much appreciated too. I'm also using Java to do this just as a reminder.