autorelease an id
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3212 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
f4e872077a
commit
07d8cfeb53
@ -262,7 +262,7 @@ static void AddTexture(NSMutableDictionary *uniforms, NSMutableArray *textures,
|
||||
bindingTarget:(id<OOWeakReferenceSupport>)object
|
||||
forSmoothedMesh:(BOOL)smooth
|
||||
{
|
||||
id result = nil;
|
||||
id result = nil;
|
||||
|
||||
#if OO_SHADERS
|
||||
|
||||
@ -306,6 +306,7 @@ static void AddTexture(NSMutableDictionary *uniforms, NSMutableArray *textures,
|
||||
[configuration oo_emissionAndIlluminationMapSpecifier] != nil)
|
||||
{
|
||||
result = [[OOMultiTextureMaterial alloc] initWithName:name configuration:configuration];
|
||||
[result autorelease];
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user