Explorar o código

Mirror Texture expression statement is not assignment or call

Jason Sturges %!s(int64=4) %!d(string=hai) anos
pai
achega
a38eee2ed9
Modificáronse 1 ficheiros con 1 adicións e 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();