@@ -561,6 +561,7 @@ void GFXGLShader::initConstantDescs()
if(!maxNameLength)
return;
+ maxNameLength++;
FrameTemp<GLchar> uniformName(maxNameLength);