Garrett Johnson 5 лет назад
Родитель
Сommit
575f030990
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/renderers/webgl/WebGLProgram.js

+ 1 - 1
src/renderers/webgl/WebGLProgram.js

@@ -222,7 +222,7 @@ function includeReplacer( match, include ) {
 // Unroll Loops
 
 var deprecatedUnrollLoopPattern = /#pragma unroll_loop[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}/g;
-var unrollLoopPattern = /#unroll_loop_start[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}[\s]+?#unroll_loop_end/g
+var unrollLoopPattern = /#unroll_loop_start[\s]+?for \( int i \= (\d+)\; i < (\d+)\; i \+\+ \) \{([\s\S]+?)(?=\})\}[\s]+?#unroll_loop_end/g;
 
 function unrollLoops( string ) {
 

粤ICP备19079148号