فهرست منبع

Texture resizing: fix typo

Merwan Achibet 7 سال پیش
والد
کامیت
0b4059675f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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号