然而,当我尝试使用glDrawElements时,当绑定回我的VAO时,我得到了EXEC_BAD_ACCESS和GL_INVALID_OPERATION。state
glBindVertexArrayOES(arrayID);
glDrawElementsscoped array of GLushorts that are uploaded to the VBO above...]) *
因此,在使用GL.进行任何操作之前,请确保您处于上下文中。Exception in thread "main" java.lang.IllegalStateException: Function is not supportedat org.lwjgl.BufferChecks.checkFunctionAddress(BufferChecks.java:5