diff options
author | Luca Rood <dev@lucarood.com> | 2017-05-23 17:56:53 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2017-05-23 19:39:22 +0300 |
commit | 9bc88b69d81fc1839733c0ffb7179fba22d9920c (patch) | |
tree | 81f49b619b93ba1ea28341865e85b75bcbdbec50 /source/blender/draw/intern/draw_manager.c | |
parent | 99c6601a1ffe744ef8592de5da5920156a1097a6 (diff) |
Implement particle velocity and acceleration visualization
Diffstat (limited to 'source/blender/draw/intern/draw_manager.c')
-rw-r--r-- | source/blender/draw/intern/draw_manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.c b/source/blender/draw/intern/draw_manager.c index e561acca021..5765a5a7292 100644 --- a/source/blender/draw/intern/draw_manager.c +++ b/source/blender/draw/intern/draw_manager.c @@ -3265,6 +3265,7 @@ void DRW_engines_register(void) } extern struct GPUUniformBuffer *globals_ubo; /* draw_common.c */ +extern struct GPUTexture *globals_ramp; /* draw_common.c */ void DRW_engines_free(void) { DRW_shape_cache_free(); @@ -3282,6 +3283,9 @@ void DRW_engines_free(void) if (globals_ubo) GPU_uniformbuffer_free(globals_ubo); + if (globals_ramp) + GPU_texture_free(globals_ramp); + #ifdef WITH_CLAY_ENGINE BLI_remlink(&R_engines, &DRW_engine_viewport_clay_type); #endif |