Skip to content

Commit

Permalink
Fixed a Mac build error introduced by a recent pull request.
Browse files Browse the repository at this point in the history
  • Loading branch information
BradLarson committed Aug 20, 2013
1 parent 96d01cd commit a231e2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/Source/GPUImageRawDataOutput.m
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,14 @@ - (void)destroyDataFBO;
dataRenderbuffer = 0;
}

#if TARGET_IPHONE_SIMULATOR || TARGET_OS_IPHONE
if (rawDataTextureCache)
{
CVOpenGLESTextureCacheFlush(rawDataTextureCache, 0);
CFRelease(rawDataTextureCache);
rawDataTextureCache = 0;
}
#endif

if (renderTarget)
{
Expand Down

0 comments on commit a231e2f

Please sign in to comment.