Browse Source

Remove #version from GLSL constants... only the version string should be used.

Jose Rojas 5 years ago
parent
commit
6a9c3a40fc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/constants.js

+ 2 - 2
src/constants.js

@@ -196,5 +196,5 @@ export const StaticCopyUsage = 35046;
 export const DynamicCopyUsage = 35050;
 export const StreamCopyUsage = 35042;
 
-export const GLSL1 = "#version 100 es";
-export const GLSL3 = "#version 300 es";
+export const GLSL1 = "100";
+export const GLSL3 = "300 es";