Menu

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

open
nobody
None
2024-04-30
2024-04-30
Anonymous
No

Originally created by: 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 😢

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.