-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
[BUG] Can't get gl.VERSION correctly. #13210
Comments
Same here. I'm running three.js with WeChat platform, the same problem occured. |
Does that mean you are not using |
@Mugen87 , in browser , but it's the built-in browser of custom ROM . |
I'm curious how these browsers internally work 🤔. They have a WebGL API but no WebGL implementation? |
@Mugen87 , they could run many webgl app , just information of gl.VERSION is incorrect. |
three.js/src/renderers/webgl/WebGLState.js
Line 345 in e2973b7
on some android platforms , the code
will return
null
(because there is noWebGL
, onlyOpenGL ES
),so , this line will take an error
Cannot read '1' of null
.Suggestion :
change to
The text was updated successfully, but these errors were encountered: