mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
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:
parent
e199ef3790
commit
7c0f534877
@ -1022,7 +1022,7 @@ int Shader::getUniformLocation(const std::string& name)
|
||||
m_uniforms.insert(std::make_pair(name, location));
|
||||
|
||||
if (location == -1)
|
||||
err() << "Parameter \"" << name << "\" not found in shader" << std::endl;
|
||||
err() << "Uniform \"" << name << "\" not found in shader" << std::endl;
|
||||
|
||||
return location;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user