org.lwjgl.opengl.OpenGLException: Invalid operation (1282)

Stack Overflow | Ted Gress | 6 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

    LWGL error - Unable to compile shaders

    Stack Overflow | 6 months ago | Ted Gress
    org.lwjgl.opengl.OpenGLException: Invalid operation (1282)

    Root Cause Analysis

    1. org.lwjgl.opengl.OpenGLException

      Invalid operation (1282)

      at org.lwjgl.opengl.Util.checkGLError()
    2. Lighweight Java Game Library
      GL20.glUniformMatrix4
      1. org.lwjgl.opengl.Util.checkGLError(Util.java:59)
      2. org.lwjgl.opengl.GL20.glUniformMatrix4(GL20.java:511)
      2 frames
    3. RenderEngine
      Renderer.<init>
      1. RenderEngine.ShaderProgram.loadMatrix(ShaderProgram.java:94)
      2. RenderEngine.StaticShader.loadProjectionMatrix(StaticShader.java:53)
      3. RenderEngine.Renderer.<init>(Renderer.java:27)
      3 frames
    4. EngineTester
      MainGameLoop.main
      1. EngineTester.MainGameLoop.main(MainGameLoop.java:26)
      1 frame