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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-08-20 20:29:55 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-08-20 20:29:55 +0400
commitc594a6f25c61decf091fa87ddf5b5ccfbeeb8e78 (patch)
tree55c0b1c98feb0fe0e99b486fea5513337f76b8ab /source/blender/blenkernel/intern/material.c
parent2a9a2825f5c65b9b7fea487d41821db6d4c807e3 (diff)
Apricot Branch
============== * Make lights and shadows work better with dupligroups, also in the game engine. Previously only one dupli would be created, and shadows didn't work well at all. * Make normal maps + stencil work. * Some glsl refresh and default material fixes.
Diffstat (limited to 'source/blender/blenkernel/intern/material.c')
-rw-r--r--source/blender/blenkernel/intern/material.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/material.c b/source/blender/blenkernel/intern/material.c
index db13be01c91..0e5769217ec 100644
--- a/source/blender/blenkernel/intern/material.c
+++ b/source/blender/blenkernel/intern/material.c
@@ -100,7 +100,7 @@ void free_material(Material *ma)
}
if(ma->gpumaterial)
- GPU_material_free(ma->gpumaterial);
+ GPU_material_free(ma);
}
void init_material(Material *ma)