remove unintended changes from ResourceManager.m
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@108 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
3862ae61c1
commit
c51ae31537
@ -605,14 +605,9 @@ NSMutableDictionary* surface_cache;
|
||||
|
||||
if (finalFilename != nil)
|
||||
{
|
||||
NSLog(@"finalFilename:");
|
||||
NSLog(@"%s", [finalFilename cString]);
|
||||
surface = IMG_Load([finalFilename cString]);
|
||||
NSLog(@"IMG_Load complete");
|
||||
result = [[SDLImage alloc] initWithSurface: surface];
|
||||
NSLog(@"SDLImage alloc complete");
|
||||
[surface_cache setObject:result forKey:image_key];
|
||||
NSLog(@"surface_cache added to");
|
||||
}
|
||||
|
||||
return result;
|
||||
|
Loading…
x
Reference in New Issue
Block a user