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

Check for bad impl #44

Closed
wants to merge 2 commits into from
Closed

Conversation

greggman
Copy link

See #43

experimental-webgl2 has never existed nor is it part of any specs
@pjcozzi
Copy link
Contributor

pjcozzi commented Apr 24, 2019

Thanks @greggman, I appreciate you noticing this issue and providing a fix. I wrote the WebGL 2 detection many many years ago and knew it was flaky. 😄

Just one quick ask: this project uses the same CLA as Cesium (as do all AGI GitHub repos), sorry it isn't documented better. This is also the same CLA that Google uses, or at least used when I put together all the licenses maybe 7 years ago. Could you please send in a CLA before we merge this?

@emackey I assume you want to test/review this?

Copy link
Contributor

@emackey emackey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine to me. One question below.

@@ -467,6 +467,13 @@ $(function() {
});
}

if (gl.getError()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question, how sensitive is this line? Is there some chance that some version of Firefox or some other browser will trip over this and fail the test even when WebGL is working? I know that Firefox can be pretty verbose with its WebGL warnings, but I don't remember if gl.getError is triggered by those warnings or only serious errors.

This might be fine, I just had to ask.

@greggman
Copy link
Author

safari finally shipped real WebGL2

@greggman greggman closed this Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants