Fixed SHADER::AddParameter() function.

This commit is contained in:
Maciej Suminski 2016-05-02 15:56:13 +02:00
parent b143ce6b0f
commit 2a276550eb
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ int SHADER::AddParameter( const std::string& aParameterName )
if( location != -1 )
parameterLocation.push_back( location );
return location;
return parameterLocation.size() - 1;
}