We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66d6e76 + f005c5a commit b6ea0bcCopy full SHA for b6ea0bc
src/utils/webglDetect.ts
@@ -16,7 +16,7 @@ export function isWebGLSupported(): boolean {
16
const gl = canvas.getContext('webgl2') || canvas.getContext('webgl') || canvas.getContext('experimental-webgl');
17
18
// If we got a context, WebGL is supported
19
- if (gl && gl instanceof WebGLRenderingContext) {
+ if (gl) {
20
return true;
21
}
22
0 commit comments