diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-05-02 19:39:44 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-05-02 19:39:53 +0300 |
commit | fd23c42faad1caa33188897535a0f3322b2e4971 (patch) | |
tree | 6b748b9804760e31c4c7c714de86853e36a81764 /source | |
parent | 1ff2646d5858676761dac88e24b7d2da4ba4ba7d (diff) |
Paint Vertex Mode: Fix shader not free.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/modes/paint_vertex_mode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/modes/paint_vertex_mode.c b/source/blender/draw/modes/paint_vertex_mode.c index a48effa4bfc..9ff49a27645 100644 --- a/source/blender/draw/modes/paint_vertex_mode.c +++ b/source/blender/draw/modes/paint_vertex_mode.c @@ -176,6 +176,7 @@ static void PAINT_VERTEX_draw_scene(void *vedata) static void PAINT_VERTEX_engine_free(void) { + DRW_SHADER_FREE_SAFE(e_data.vcolor_face_shader); DRW_SHADER_FREE_SAFE(e_data.wire_overlay_shader); } |