diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-10-06 09:33:42 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-10-06 09:33:42 +0300 |
commit | 7d0139f41751efab772942abc22f988aa4b44b1e (patch) | |
tree | d27207b0570c4cea888f82978f52dc43eb9d0559 /source/blender/draw/intern/draw_manager.c | |
parent | 3178dc25f6edc95d6de49ab2894303aedc0a23b3 (diff) |
Fix T81459: Memory Leak Cycles Rendered Viewport
The external engine in the draw manager wasn't registered correctly.
This did not free the resources after the external engine was used.
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index d51042d4ae6..ff12a055361 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -2885,6 +2885,7 @@ void DRW_engines_register(void) DRW_engine_register(&draw_engine_basic_type); DRW_engine_register(&draw_engine_image_type); + DRW_engine_register(DRW_engine_viewport_external_type.draw_engine); /* setup callbacks */ { |