소스 검색

Merge pull request #9576 from Popov72/fix-gpu-particle

Fix crash when using GPU particles
David Catuhe 4 년 전
부모
커밋
1df4d30601
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Materials/effect.ts

+ 1 - 1
src/Materials/effect.ts

@@ -286,7 +286,7 @@ export class Effect implements IDisposable {
             fragmentSource = baseName.fragment || baseName;
         }
 
-        this._processingContext = engine!._getShaderProcessingContext();
+        this._processingContext = this._engine._getShaderProcessingContext();
 
         const processorOptions: ProcessingOptions = {
             defines: this.defines.split("\n"),