소스 검색

Merge pull request #9687 from jasonsturges/mirrortexture-update

Mirror Texture expression statement is not assignment or call
sebavan 4 년 전
부모
커밋
3c904123e4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();