Selaa lähdekoodia

Mirror Texture expression statement is not assignment or call

Jason Sturges 4 vuotta sitten
vanhempi
commit
a38eee2ed9
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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();