Browse Source

refactor: linting

Volker Buzek 6 years ago
parent
commit
d4f6bfed63
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/renderers/webgl/WebGLTextures.js

+ 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")!
 	// also OffscreenCanvas.getContext("webgl"), but not OffscreenCanvas.getContext("2d")!
 
 
 	var useOffscreenCanvas = typeof OffscreenCanvas !== 'undefined'
 	var useOffscreenCanvas = typeof OffscreenCanvas !== 'undefined'
-		&& (new OffscreenCanvas(1, 1).getContext("2d")) !== null;
+		&& ( new OffscreenCanvas( 1, 1 ).getContext( "2d" ) ) !== null;
 
 
 	function createCanvas( width, height ) {
 	function createCanvas( width, height ) {