Explorar o código

#258 Gulp build strips out the first character in all shaders

Abe Rodriguez %!s(int64=11) %!d(string=hai) anos
pai
achega
8c887847b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Tools/Gulp/gulp-shaders.js

+ 1 - 1
Tools/Gulp/gulp-shaders.js

@@ -22,7 +22,7 @@ var shaders = function shaders(name) {
       .replace('.vertex', 'Vertex')
       .replace('.fx', 'Shader');
 
-    content[fileName] = file.contents.toString().substring(1); //stript the BOM character
+    content[fileName] = file.contents.toString();
   }
 
   function endStream(){