yigiter/Demo6DoF — Issue #2: OpenGL direct buffer problem
Author: dixon1e
Created: 2011-12-15 00:11:45+00:00
State: open

Unlike PathDrawer, the MyCube routine uses a wrap to capture the Floatbuffer for cCoord. This crashes OpenGL.

Error is:

"Application called a GL11 Pointer method with an Indirect Buffer"

Failing line is:

gl.glVertexPointer(3, GL10.GL_FLOAT, 0, VertexBuf[i])

Will set up the VertexBuf as direct to fix.