Browse Source

Merge pull request #9687 from jasonsturges/mirrortexture-update

Mirror Texture expression statement is not assignment or call
sebavan 4 years ago
parent
commit
3c904123e4
1 changed files with 1 additions and 1 deletions
  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();