Przeglądaj źródła

Texture resizing: fix typo

Merwan Achibet 7 lat temu
rodzic
commit
0b4059675f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/renderers/webgl/WebGLTextures.js

+ 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 ) {
 

粤ICP备19079148号