Added repeating to sf::RenderTexture

Added the missing setRepeated() and isRepeated() methods to sf::RenderTexture.
This commit is contained in:
Foaly 2013-03-06 18:11:48 +01:00
parent ef78b6d0f3
commit ba2d08684c
2 changed files with 37 additions and 0 deletions

View file

@ -99,6 +99,20 @@ bool RenderTexture::isSmooth() const
}
////////////////////////////////////////////////////////////
void RenderTexture::setRepeated(bool repeated)
{
m_texture.setRepeated(repeated);
}
////////////////////////////////////////////////////////////
bool RenderTexture::isRepeated() const
{
return m_texture.isRepeated();
}
////////////////////////////////////////////////////////////
bool RenderTexture::setActive(bool active)
{