Skip to content

Commit

Permalink
Merge pull request BradLarson#970 from stevegraham/raw-data-output-fix
Browse files Browse the repository at this point in the history
Use GPUImageRawDataOutput cached bytes
  • Loading branch information
BradLarson committed May 15, 2013
2 parents 96588af + fab2972 commit 4b87694
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions framework/Source/GPUImageRawDataOutput.m
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,9 @@ - (GLubyte *)rawBytesForImage;
// GL_EXT_read_format_bgra
// glReadPixels(0, 0, imageSize.width, imageSize.height, GL_BGRA_EXT, GL_UNSIGNED_BYTE, _rawBytesForImage);
}

hasReadFromTheCurrentFrame = YES;

});

return _rawBytesForImage;
Expand Down

0 comments on commit 4b87694

Please sign in to comment.