-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GL.GL_MULTISAMPLE not supported on Windows and MacOS #399
Comments
I think I should try setting the settings after creating a context, and it might work fine. On researching further it seems that multisampling is enabled by default. @ziyaointl, can you try removing these 3 hints from line https://github.com/p5py/p5/blob/master/p5/sketch/Skia2DRenderer/base.py#L78 and test on windows again, when you have the time? |
The macos issue is due to the retina display. I will recheck the code to see if I am initialising values properly. In the sketch class framebuffers are not being configured properly |
Closing issue since this was resolved in #400 |
Describe the bug
GL.glEnable(GL.GL_MULTISAMPLE)
causes p5py to crash under the skia renderer in MacOS and Windows.To Reproduce
Run the any p5 script with skia as renderer.
Expected behavior
p5py should not crash
Screenshots
N/A
System information:
MacOS
Windows
Additional context
Windows stack trace:
MacOS stack trace:
We may need to find another way to enable antialiasing in skia.
The text was updated successfully, but these errors were encountered: