Browse files

Remove incorrect keyword gl_Vertex (the correct keyword is gl_Positio…

…n, but it's only for vertex shaders, and our code editor only shows fragment shaders, so this keyword is removed entirely).
  • Loading branch information...
1 parent 5decd8f commit ccfb4a467bded85b4022beed668e8c16d66d1c41 @emackey committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 static/js/glsl.js
@@ -160,7 +160,7 @@ CodeMirror.defineMode("glsl", function(config, parserConfig) {
"do for while if else in out inout float int void bool true false " +
"lowp mediump highp precision invariant discard return mat2 mat3 " +
"mat4 vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 sampler2D " +
- "samplerCube struct gl_Vertex gl_FragCoord gl_FragColor";
+ "samplerCube struct gl_FragCoord gl_FragColor";
var glslBuiltins = "radians degrees sin cos tan asin acos atan pow " +
"exp log exp2 log2 sqrt inversesqrt abs sign floor ceil fract mod " +
"min max clamp mix step smoothstep length distance dot cross " +

0 comments on commit ccfb4a4

Please sign in to comment.