1
0
Volker Buzek 6 жил өмнө
parent
commit
d4f6bfed63

+ 1 - 1
src/renderers/webgl/WebGLTextures.js

@@ -14,7 +14,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 	// also OffscreenCanvas.getContext("webgl"), but not OffscreenCanvas.getContext("2d")!
 
 	var useOffscreenCanvas = typeof OffscreenCanvas !== 'undefined'
-		&& (new OffscreenCanvas(1, 1).getContext("2d")) !== null;
+		&& ( new OffscreenCanvas( 1, 1 ).getContext( "2d" ) ) !== null;
 
 	function createCanvas( width, height ) {
 

粤ICP备19079148号