Safe calls in ASTextNodeRenderer

fixes #190
This commit is contained in:
Ryan Nystrom
2014-12-30 10:55:04 -08:00
parent 13c57020c1
commit 7e30b10f13
3 changed files with 6 additions and 7 deletions

View File

@@ -338,7 +338,7 @@ ASDISPLAYNODE_INLINE CGFloat ceilPixelValue(CGFloat f)
// Draw text
bounds.origin = parameters.textOrigin;
[parameters.renderer drawInRect:bounds isRasterizing:isRasterizing];
[parameters.renderer drawInRect:bounds inContext:context];
CGContextRestoreGState(context);
}