Add sceondary offset method to Region class
This commit is contained in:
@@ -964,6 +964,10 @@ void Region::offset(int x, int y) {
|
||||
}
|
||||
}
|
||||
|
||||
void Region::offset(location off) {
|
||||
offset(off.x, off.y);
|
||||
}
|
||||
|
||||
void Region::setStencil(sf::RenderTarget& where) {
|
||||
setActiveRenderTarget(where);
|
||||
glClearStencil(0);
|
||||
|
||||
Reference in New Issue
Block a user