diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r-- | source/blender/gpu/intern/gpu_codegen.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c index 4113344760b..4f7fc3639f4 100644 --- a/source/blender/gpu/intern/gpu_codegen.c +++ b/source/blender/gpu/intern/gpu_codegen.c @@ -258,6 +258,8 @@ void GPU_codegen_exit(void) FUNCTION_HASH = NULL; } + GPU_shader_free_builtin_shaders(); + if (glsl_material_library) { MEM_freeN(glsl_material_library); glsl_material_library = NULL; |