Skip to content

OpenGL direct buffer problem #2

@dixon1e

Description

@dixon1e

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions