diff options
author | Jeroen Bakker <jeroen@blender.org> | 2022-02-02 17:04:57 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2022-02-02 17:05:06 +0300 |
commit | 40b84ffc5067af7b6897bd5e099cefd2ae07c058 (patch) | |
tree | a8d9642b0f04edb8b641da3ae8c91c200513f8a9 /source/blender/draw/engines | |
parent | fd35aa48d154283617ce6f33857b5783599d2d08 (diff) |
Draw Manager: Marked work around code.
Mark the work around that was added for the VSE memory leak.
Diffstat (limited to 'source/blender/draw/engines')
-rw-r--r-- | source/blender/draw/engines/image/image_drawing_mode.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/engines/image/image_drawing_mode.hh b/source/blender/draw/engines/image/image_drawing_mode.hh index a355b42d66c..82fff0c4ddb 100644 --- a/source/blender/draw/engines/image/image_drawing_mode.hh +++ b/source/blender/draw/engines/image/image_drawing_mode.hh @@ -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); } |