Graphics: Taint entire Bitmap in #snap_to_bitmap
This commit is contained in:
parent
f25d2db63c
commit
51c5ca1410
3 changed files with 11 additions and 0 deletions
src
|
@ -1045,6 +1045,11 @@ void Bitmap::bindTex(ShaderBase &shader)
|
|||
p->bindTexture(shader);
|
||||
}
|
||||
|
||||
void Bitmap::taintArea(const IntRect &rect)
|
||||
{
|
||||
p->addTaintedArea(rect);
|
||||
}
|
||||
|
||||
void Bitmap::releaseResources()
|
||||
{
|
||||
if (p->megaSurface)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue