mirror of
https://github.com/SFML/SFML.git
synced 2025-02-18 06:18:01 +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
fea5d47221
commit
d9056ad5b3
@ -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…
x
Reference in New Issue
Block a user