Selaa lähdekoodia

rollback changes

Popov72 5 vuotta sitten
vanhempi
commit
aaf08c7df3
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  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) {
     public static Process(sourceCode: string, options: ProcessingOptions, callback: (migratedCode: string) => void) {
         this._ProcessIncludes(sourceCode, options, (codeWithIncludes) => {
         this._ProcessIncludes(sourceCode, options, (codeWithIncludes) => {
             let migratedCode = this._ProcessShaderConversion(codeWithIncludes, options);
             let migratedCode = this._ProcessShaderConversion(codeWithIncludes, options);
-            let sci = new ShaderCodeInliner(migratedCode);
-            sci.debug = true;
-            sci.processCode();
-            callback(sci.code/*migratedCode*/);
+            callback(migratedCode);
         });
         });
     }
     }