diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-08-21 11:30:26 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-08-22 14:51:02 +0300 |
commit | 4d09129ffb7ea03be81e1d5f1d4347637af46396 (patch) | |
tree | 04fc2c3f60a959eb1e30bc670e100caaa14a527e /source/blender/draw/modes/edit_mesh_mode.c | |
parent | 648924333234a1fd0fee91851bb7ad8bc8639f3a (diff) |
Fix T56470: unfreed shader in edit mode
Diffstat (limited to 'source/blender/draw/modes/edit_mesh_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_mesh_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/edit_mesh_mode.c b/source/blender/draw/modes/edit_mesh_mode.c index 98fd1b249be..254afeb59ab 100644 --- a/source/blender/draw/modes/edit_mesh_mode.c +++ b/source/blender/draw/modes/edit_mesh_mode.c @@ -644,6 +644,7 @@ static void EDIT_MESH_engine_free(void) DRW_SHADER_FREE_SAFE(e_data.normals_loop_sh); DRW_SHADER_FREE_SAFE(e_data.normals_face_sh); DRW_SHADER_FREE_SAFE(e_data.normals_sh); + DRW_SHADER_FREE_SAFE(e_data.ghost_clear_depth_sh); for (int i = 0; i < MAX_SHADERS; i++) { DRW_SHADER_FREE_SAFE(e_data.overlay_tri_sh_cache[i]); |