79451472

Date: 2025-02-19 13:23:30
Score: 1
Natty:
Report link
import os
import sys

# Check if the system platform is Linux
if sys.platform.startswith('linux'):
    os.environ['PYOPENGL_PLATFORM'] = 'glx'

If you add these lines to the code it will use OpenGL for X11 instead of the EGL of wayland.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bonnom