Closed swt2c closed 1 year ago
This does fix the import error for me, thank you!!
This does fix the import error for me, thank you!!
Does your end use case work also, though? Presumably you are doing something with GLUT other than importing it?
This fix does not make my application work on Wayland, but I think with this it's no longer pyopengl's fault.
My application is LinuxCNC, and our OpenGL code is a bit of a mess at the moment... With this patch we get a little further on Wayland. I'm tracking our woes here: https://github.com/LinuxCNC/linuxcnc/issues/2264
OK, I'll throw this patch into Debian's pyopengl. I don't think it can hurt anyway.
I just made a PR in Salsa, not realizing that you were involved there too!
This is simply copied from GLX, but there doesn't seem like there should be any differences.
Fixes #89.