Skip to content

Commit

Permalink
Added back these keywords: gl_Vertex gl_FragCoord gl_FragColor
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Dec 15, 2011
1 parent 668888b commit 5ae9193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/js/glsl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
"samplerCube struct gl_Vertex 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 " +
Expand Down

0 comments on commit 5ae9193

Please sign in to comment.