Browse Source

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

Abe Rodriguez 11 years ago
parent
commit
8c887847b2
1 changed files with 1 additions and 1 deletions
  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(){