From 7c0f534877529b26f86d2ee2c850472ad37a4902 Mon Sep 17 00:00:00 2001 From: Hapax Date: Sat, 13 Aug 2016 12:35:08 +0100 Subject: [PATCH] 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. --- src/SFML/Graphics/Shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SFML/Graphics/Shader.cpp b/src/SFML/Graphics/Shader.cpp index 8010ff28..d8258aee 100644 --- a/src/SFML/Graphics/Shader.cpp +++ b/src/SFML/Graphics/Shader.cpp @@ -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; }