Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stokes <kupomail@gmail.com>2012-05-01 06:50:17 +0400
committerDaniel Stokes <kupomail@gmail.com>2012-05-01 06:50:17 +0400
commitae4fda82b026ae6e2b003c1105f329b7e76582b0 (patch)
tree1dfe2a3f3e1dd3dabe22c51a96ffdc07575f1bc5 /source/blender/gpu/intern/gpu_codegen.c
parent7cb037db8628c0522fb8c143d461e2054b616771 (diff)
Merging phase 1 of the BGE Harmony branch:
* Shadow color now usable in the BGE * Simplified the shadow panel while "Blender Game" renderer is active * Added variance shadow maps for the BGE * Buffered shadows on sun lamps in the BGE (orthographic) * Light textures in the BGE
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c2
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;