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

Stack Overflow | asker | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    "Cannot use offsets when Array Buffer Object is disabled" error when attempting to change screen

    Stack Overflow | 7 months ago | asker
    org.lwjgl.opengl.OpenGLException: Cannot use offsets when Array Buffer Object is disabled
  2. 0

    Opening fbx file results in OpenGLException: Cannot use offsets when Array Buffer Object is disabled

    GitHub | 2 years ago | mistakenot
    org.lwjgl.opengl.OpenGLException: Cannot use offsets when Array Buffer Object is disabled
  3. 0

    GitHub comment 1#73093815

    GitHub | 2 years ago | mistakenot
    org.lwjgl.opengl.OpenGLException: Cannot use offsets when Array Buffer Object is disabled
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    LWJGL Cannot use offsets when Array Buffer Object is disabled

    Stack Overflow | 2 years ago | user3001431
    org.lwjgl.opengl.OpenGLException: Cannot use offsets when Array Buffer Object is disabled

    Root Cause Analysis

    1. org.lwjgl.opengl.OpenGLException

      Cannot use offsets when Array Buffer Object is disabled

      at org.lwjgl.opengl.GLChecks.ensureArrayVBOenabled()
    2. Lighweight Java Game Library
      GL20.glVertexAttribPointer
      1. org.lwjgl.opengl.GLChecks.ensureArrayVBOenabled(GLChecks.java:77)
      2. org.lwjgl.opengl.GL20.glVertexAttribPointer(GL20.java:892)
      2 frames
    3. libGDX LWJGL Backend
      LwjglGL20.glVertexAttribPointer
      1. com.badlogic.gdx.backends.lwjgl.LwjglGL20.glVertexAttribPointer(LwjglGL20.java:847)
      1 frame
    4. libGDX Core
      ShapeRenderer.polygon
      1. com.badlogic.gdx.graphics.glutils.ShaderProgram.setVertexAttribute(ShaderProgram.java:662)
      2. com.badlogic.gdx.graphics.glutils.VertexBufferObject.bind(VertexBufferObject.java:202)
      3. com.badlogic.gdx.graphics.Mesh.bind(Mesh.java:380)
      4. com.badlogic.gdx.graphics.Mesh.bind(Mesh.java:371)
      5. com.badlogic.gdx.graphics.Mesh.render(Mesh.java:479)
      6. com.badlogic.gdx.graphics.Mesh.render(Mesh.java:422)
      7. com.badlogic.gdx.graphics.glutils.ImmediateModeRenderer20.flush(ImmediateModeRenderer20.java:151)
      8. com.badlogic.gdx.graphics.glutils.ImmediateModeRenderer20.end(ImmediateModeRenderer20.java:160)
      9. com.badlogic.gdx.graphics.glutils.ShapeRenderer.end(ShapeRenderer.java:1104)
      10. com.badlogic.gdx.graphics.glutils.ShapeRenderer.check(ShapeRenderer.java:1087)
      11. com.badlogic.gdx.graphics.glutils.ShapeRenderer.polygon(ShapeRenderer.java:1014)
      12. com.badlogic.gdx.graphics.glutils.ShapeRenderer.polygon(ShapeRenderer.java:1043)
      12 frames
    5. com.ian.redsquare
      RedSquareScreen.render
      1. com.ian.redsquare.Entities.Walls.render(Walls.java:22)
      2. com.ian.redsquare.Screens.RedSquareScreen.render(RedSquareScreen.java:65)
      2 frames
    6. libGDX Core
      Game.render
      1. com.badlogic.gdx.Game.render(Game.java:46)
      1 frame
    7. libGDX LWJGL Backend
      LwjglApplication$1.run
      1. com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:215)
      2. com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
      2 frames