fix from teedee
This commit is contained in:
parent
2d0fb30fd6
commit
c06eafece4
|
|
@ -355,7 +355,7 @@ CLP(ShaderContext)(Shader *s, GSG *gsg) : ShaderContext(s) {
|
|||
gsg->_glGetActiveAttrib(_glsl_program, i, param_maxlength, NULL, ¶m_size, ¶m_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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue