This commit is contained in:
sam gateau 2018-08-21 12:30:31 -07:00
parent b7d8b92fb5
commit 8c5aab7fa0

View file

@ -256,7 +256,7 @@ GLint GLBackend::getRealUniformLocation(GLint location) const {
// uniforms. If someone is requesting a uniform that isn't in the remapping structure
// that's a bug from the calling code, because it means that location wasn't in the
// reflection
qWarning() << "Unexpected location requested for shader: #" << location;
qWarning() << "Unexpected location requested for shader: #" << location;
return INVALID_UNIFORM_INDEX;
}
return itr->second;