mcfletch / pyopengl

Repository for the PyOpenGL Project
Other
314 stars 97 forks source link

Implement getGLUTFontPointer for EGL platform #91

Closed swt2c closed 1 year ago

swt2c commented 1 year ago

This is simply copied from GLX, but there doesn't seem like there should be any differences.

Fixes #89.

SebKuzminsky commented 1 year ago

This does fix the import error for me, thank you!!

swt2c commented 1 year ago

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?

SebKuzminsky commented 1 year ago

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

swt2c commented 1 year ago

OK, I'll throw this patch into Debian's pyopengl. I don't think it can hurt anyway.

SebKuzminsky commented 1 year ago

I just made a PR in Salsa, not realizing that you were involved there too!