Added repeating to sf::RenderTexture
Added the missing setRepeated() and isRepeated() methods to sf::RenderTexture.
This commit is contained in:
parent
ef78b6d0f3
commit
ba2d08684c
2 changed files with 37 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue