org.lwjgl.opengl.OpenGLException: Cannot use offsets when Element Array Buffer Object is disabled

Stack Overflow | user6656221 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    LWJGL: Cannot use offsets when Element Array Buffer Object is disabled

    Stack Overflow | 10 months ago | user6656221
    org.lwjgl.opengl.OpenGLException: Cannot use offsets when Element Array Buffer Object is disabled

    1 unregistered visitors

    Root Cause Analysis

    1. org.lwjgl.opengl.OpenGLException

      Cannot use offsets when Element Array Buffer Object is disabled

      at org.lwjgl.opengl.GLChecks.ensureElementVBOenabled()
    2. Lighweight Java Game Library
      GL11.glDrawElements
      1. org.lwjgl.opengl.GLChecks.ensureElementVBOenabled(GLChecks.java:89)
      2. org.lwjgl.opengl.GL11.glDrawElements(GL11.java:1117)
      2 frames
    3. renderEngine
      Renderer.render
      1. renderEngine.Renderer.render(Renderer.java:20)
      1 frame
    4. tester
      MainGameLoop.main
      1. tester.MainGameLoop.main(MainGameLoop.java:33)
      1 frame