Преглед на файлове

fixed error in CubeTexture.delayLoad()

Kesshi преди 8 години
родител
ревизия
afad37d91b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Materials/Textures/babylon.cubeTexture.ts

+ 1 - 1
src/Materials/Textures/babylon.cubeTexture.ts

@@ -74,7 +74,7 @@
             this._texture = this._getFromCache(this.url, this._noMipmap);
 
             if (!this._texture) {
-                this._texture = this.getScene().getEngine().createCubeTexture(this.url, this.getScene(), this._files, this._noMipmap, this._format);
+                this._texture = this.getScene().getEngine().createCubeTexture(this.url, this.getScene(), this._files, this._noMipmap, undefined, undefined, this._format);
             }
         }