Graphics: Taint entire Bitmap in #snap_to_bitmap

This commit is contained in:
Jonas Kulla 2014-04-15 19:05:36 +02:00
parent f25d2db63c
commit 51c5ca1410
3 changed files with 11 additions and 0 deletions

View file

@ -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)