diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-08-20 20:29:55 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-08-20 20:29:55 +0400 |
commit | c594a6f25c61decf091fa87ddf5b5ccfbeeb8e78 (patch) | |
tree | 55c0b1c98feb0fe0e99b486fea5513337f76b8ab /source/blender/blenkernel/intern/material.c | |
parent | 2a9a2825f5c65b9b7fea487d41821db6d4c807e3 (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.c | 2 |
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) |