Skip to content

Commit

Permalink
Removed erroneous __block keyword from SPTexture.m
Browse files Browse the repository at this point in the history
  • Loading branch information
cburtbrown committed Mar 30, 2016
1 parent 51a6931 commit f628e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparrow/src/Classes/SPTexture.m
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ + (void)loadFromURL:(NSURL *)url generateMipmaps:(BOOL)mipmaps scale:(float)scal
{
[Sparrow.currentController executeInResourceQueue:^
{
__block NSError *loadError = nil;
NSError *loadError = nil;
NSString *cacheKey = [url absoluteString];
SPTexture *texture = [textureCache[cacheKey] retain];
GLsync waitUntilTextureLoaded = nil;
Expand Down

0 comments on commit f628e84

Please sign in to comment.