fix from teedee

This commit is contained in:
rdb 2012-01-07 08:40:06 +00:00
parent 2d0fb30fd6
commit c06eafece4
1 changed files with 1 additions and 1 deletions

View File

@ -355,7 +355,7 @@ CLP(ShaderContext)(Shader *s, GSG *gsg) : ShaderContext(s) {
gsg->_glGetActiveAttrib(_glsl_program, i, param_maxlength, NULL, &param_size, &param_type, param_name);
PT(InternalName) inputname = InternalName::make(param_name);
if (inputname->get_name().substr(0, 4) == "gl_") {
if (inputname->get_name().substr(0, 3) == "gl_") {
// We shouldn't bind anything to these.
} else if (inputname->get_name().substr(0, 4) == "p3d_") {
noprefix = inputname->get_name().substr(4);