mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Free temp TEXFBO when blitting new pixels to a Bitmap
This commit is contained in:
parent
ed4ab3ba7f
commit
cc3392d896
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue