Changed uniform error message

Changed the error message for using uniforms to use the word uniform instead of the word parameter since parameter's deprecation.

A minor text output alteration to keep consistent with the new interface.
This commit is contained in:
Hapax 2016-08-13 12:35:08 +01:00 committed by Lukas Dürrenberger
parent e199ef3790
commit 7c0f534877

View File

@ -1022,7 +1022,7 @@ int Shader::getUniformLocation(const std::string& name)
m_uniforms.insert(std::make_pair(name, location)); m_uniforms.insert(std::make_pair(name, location));
if (location == -1) if (location == -1)
err() << "Parameter \"" << name << "\" not found in shader" << std::endl; err() << "Uniform \"" << name << "\" not found in shader" << std::endl;
return location; return location;
} }