Removed Shader::unbind (was not used internally, less consistent with sf::Texture and could be confusing for users)
This commit is contained in:
parent
4c04a0ce8f
commit
121cfeb6a3
2 changed files with 0 additions and 24 deletions
|
@ -429,15 +429,6 @@ void Shader::bind() const
|
|||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
void Shader::unbind() const
|
||||
{
|
||||
ensureGlContext();
|
||||
|
||||
glCheck(glUseProgramObjectARB(0));
|
||||
}
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
bool Shader::isAvailable()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue