sebavan 6 年之前
父节点
当前提交
fa31093e59
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Materials/Textures/texture.ts

+ 1 - 1
src/Materials/Textures/texture.ts

@@ -366,7 +366,7 @@ declare type RenderTargetTexture = import ("Materials/Textures/renderTargetTextu
                 return;
                 return;
             }
             }
 
 
-            this.delayLoadState = Engine.DELAYLOADSTATE_LOADED;
+            this.delayLoadState = Constants.DELAYLOADSTATE_LOADED;
             this._texture = this._getFromCache(this.url, this._noMipmap, this.samplingMode);
             this._texture = this._getFromCache(this.url, this._noMipmap, this.samplingMode);
 
 
             if (!this._texture) {
             if (!this._texture) {