2
0
Эх сурвалжийг харах

Texture resizing: fix typo

Merwan Achibet 6 жил өмнө
parent
commit
0b4059675f

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

@@ -12,7 +12,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, utils,
 
 	//
 
-	var useOffscreenCanvas  = typeof OffscreenCanvas  === 'undefined';
+	var useOffscreenCanvas  = typeof OffscreenCanvas  !== 'undefined';
 
 	function createCanvas( width, height ) {