Don't leak auto-scaled RGBA textures.
This commit is contained in:
parent
e3530560f4
commit
232cbb9eb7
1 changed files with 1 additions and 0 deletions
|
@ -294,6 +294,7 @@ void RrImageDrawRGBA(RrPixel32 *target, RrTextureRGBA *rgba,
|
|||
DrawRGBA(target, target_w, target_h,
|
||||
scaled->data, scaled->width, scaled->height,
|
||||
rgba->alpha, area);
|
||||
RrImagePicFree(scaled);
|
||||
}
|
||||
else
|
||||
DrawRGBA(target, target_w, target_h,
|
||||
|
|
Loading…
Reference in a new issue