Free temp TEXFBO when blitting new pixels to a Bitmap

This commit is contained in:
Inori 2019-09-05 14:46:12 -04:00 committed by Inori
parent ed4ab3ba7f
commit cc3392d896

View file

@ -899,6 +899,8 @@ void Bitmap::replaceRaw(void *pixel_data, int w, int h)
GLMeta::blitRectangle(IntRect(0,0,w,h), Vec2i());
GLMeta::blitEnd();
TEXFBO::fini(buf);
taintArea(IntRect(0,0,w,h));
}