Removed Shader::unbind (was not used internally, less consistent with sf::Texture and could be confusing for users)

This commit is contained in:
Laurent Gomila 2012-10-20 23:38:39 +02:00
parent 4c04a0ce8f
commit 121cfeb6a3
2 changed files with 0 additions and 24 deletions

View file

@ -429,15 +429,6 @@ void Shader::bind() const
}
////////////////////////////////////////////////////////////
void Shader::unbind() const
{
ensureGlContext();
glCheck(glUseProgramObjectARB(0));
}
////////////////////////////////////////////////////////////
bool Shader::isAvailable()
{