1
1

Draw Manager: Marked work around code.

Mark the work around that was added for the VSE memory leak.
This commit is contained in:
2022-02-02 15:04:57 +01:00
parent fd35aa48d1
commit 40b84ffc50
5 changed files with 6 additions and 5 deletions

View File

@@ -314,7 +314,7 @@ template<typename TextureMethod> class ScreenSpaceDrawingMode : public AbstractD
0);
imb_freerectImbuf_all(&extracted_buffer);
}
/* TODO(jbakker): Find leak when rendering VSE and remove this call. */
if (float_buffer_created) {
imb_freerectfloatImBuf(iterator.tile_data.tile_buffer);
}
@@ -430,6 +430,7 @@ template<typename TextureMethod> class ScreenSpaceDrawingMode : public AbstractD
uv_to_texel,
crop_rect_ptr);
/* TODO(jbakker): Find leak when rendering VSE and remove this call. */
if (float_buffer_created) {
imb_freerectfloatImBuf(&tile_buffer);
}