Skip to content
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

LineWidth with non-1.0 value in webgl 2 contexts can cause a GL panic #26139

Closed
jdm opened this issue Apr 8, 2020 · 0 comments
Closed

LineWidth with non-1.0 value in webgl 2 contexts can cause a GL panic #26139

jdm opened this issue Apr 8, 2020 · 0 comments

Comments

@jdm
Copy link
Member

@jdm jdm commented Apr 8, 2020

https://stackoverflow.com/questions/8791531/opengl-3-2-core-profile-gllinewidth
https://community.khronos.org/t/gllinewidth-gives-gl-invalid-value-for-widths-1/69023

This is explicitly deprecated in later versions of the GL Core profile, and macOS seems to trigger it on 3.2 and greater.

@jdm jdm mentioned this issue Apr 8, 2020
3 of 3 tasks complete
bors-servo added a commit that referenced this issue Apr 8, 2020
Avoid GL errors with LineWidth commands

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26139
bors-servo added a commit that referenced this issue Apr 14, 2020
Avoid GL errors with LineWidth commands

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26139
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant
You can’t perform that action at this time.