openframeworks/openFrameworks — pull request #2188 by tgfrerer (2013-07-08 15:13:00+00:00)
Title: Update programmable gl shader attributes

## restores variable name "color" for default GLSL shader vertex color attribute

Renames "uniform vec4 color" -> "uniform vec4 drawColor", this allows us to use "color" for the shader vertex attribute parameter, and drawColor for the shader uniform parameter.

* "color" is the vertex colour, while
* "drawColor" is set through the Material color / the current openFrameworks draw color

+ Also stringifies the OpenGL default shaders for easier legibility.
+ Also fixes a typo within ofMatrixStack