Skip to content

pyglet.gl.lib.GLException: b'invalid value' #6

Description

@happyleibniz
Traceback (most recent call last):
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\minecraft_main_program.py", line 835, in <module>
    mainFunction(mbclicked)
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\minecraft_main_program.py", line 394, in draw_main_menu
    quitButton_.update(mp, mc)
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\game\GUI\Button.py", line 46, in update
    drawInfoLabel(self.gl, self.text, xx=self.text_x, yy=self.gl.HEIGHT - self.y - 25, style=[('', '')],
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\functions.py", line 137, in drawInfoLabel
    shadow_lbl.draw()
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\text\layout.py", line 1210, in draw
    self._batch.draw()
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\graphics\__init__.py", line 564, in draw
    func()
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\graphics\__init__.py", line 493, in <lambda>
    (lambda d, m: lambda: d.draw(m))(domain, mode))
                          ^^^^^^^^^
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\graphics\vertexdomain.py", line 292, in draw
    buffer.bind()
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\graphics\vertexbuffer.py", line 398, in bind
    glBufferSubData(self.target, self._dirty_min, size,
  File "C:\Users\leibniz\Desktop\Documents\all python\Minecraft_python_Edition\.venv1\Lib\site-packages\pyglet\gl\lib.py", line 107, in errcheck
    raise GLException(msg)
pyglet.gl.lib.GLException: b'invalid value'

another # TODO: on me 😢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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