瀏覽代碼

rollback changes

Popov72 5 年之前
父節點
當前提交
aaf08c7df3
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      src/Engines/Processors/shaderProcessor.ts

+ 1 - 4
src/Engines/Processors/shaderProcessor.ts

@@ -24,10 +24,7 @@ export class ShaderProcessor {
     public static Process(sourceCode: string, options: ProcessingOptions, callback: (migratedCode: string) => void) {
         this._ProcessIncludes(sourceCode, options, (codeWithIncludes) => {
             let migratedCode = this._ProcessShaderConversion(codeWithIncludes, options);
-            let sci = new ShaderCodeInliner(migratedCode);
-            sci.debug = true;
-            sci.processCode();
-            callback(sci.code/*migratedCode*/);
+            callback(migratedCode);
         });
     }