Skip to content

Commit

Permalink
revert return [self setupContext] as it causes the initial frame to…
Browse files Browse the repository at this point in the history
… be skipped
  • Loading branch information
racarone committed Jan 29, 2016
1 parent f1f70ac commit d25f23c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sparrow/src/Classes/SPViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ - (void)advanceTime:(double)passedTime
- (void)render
{
if (!_rendering) return;
if (!_context) return [self setupContext];
if (!_context) [self setupContext];
if (!_context) return;

@autoreleasepool
{
Expand Down

0 comments on commit d25f23c

Please sign in to comment.