picogl.ui.backend.glut.prefer_glut_platform
Ensure PyOpenGL binds a GLUT/GL stack that creates a usable context.
Import this module before OpenGL / OpenGL.GLUT:
macOS: prefer Apple GLUT.framework over Homebrew freeglut
Linux: prefer GLX over EGL (Wayland + freeglut mismatch)