Hi, I'm trying to use Airplay with Pyglet from MacOS Monterey 12.2.1. Screen mirroring works fine, but if I use the TV I'm connected to as an extended display, OpenGL will immediately crash. E.g., window.clear() produces:
File "XXX/lib/python3.9/site-packages/pyglet/window/__init__.py", line 1348, in clear
gl.glClear(gl.GL_COLOR_BUFFER_BIT | gl.GL_DEPTH_BUFFER_BIT)
File "XXX/lib/python3.9/site-packages/pyglet/gl/lib.py", line 107, in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: b'invalid framebuffer operation'
I spent a good chunk of time searching the internet for various permutations of opengl/pyglet/airplay/"invalid framebuffer operation" but didn't find much.
Anyone have any advice or guidance on how I might resolve this error? Should I open an issue on the repo?