Explorar el Código

Mirror Texture expression statement is not assignment or call

Jason Sturges hace 4 años
padre
commit
a38eee2ed9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Materials/Textures/mirrorTexture.ts

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

@@ -153,7 +153,7 @@ export class MirrorTexture extends RenderTargetTexture {
 
         this._updateGammaSpace();
         this._imageProcessingConfigChangeObserver = scene.imageProcessingConfiguration.onUpdateParameters.add(() => {
-            this._updateGammaSpace;
+            this._updateGammaSpace();
         });
 
         const engine = this.getScene()!.getEngine();