sebavan 6 years ago
parent
commit
fa31093e59
1 changed files with 1 additions and 1 deletions
  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;
             }
 
-            this.delayLoadState = Engine.DELAYLOADSTATE_LOADED;
+            this.delayLoadState = Constants.DELAYLOADSTATE_LOADED;
             this._texture = this._getFromCache(this.url, this._noMipmap, this.samplingMode);
 
             if (!this._texture) {