jmenter / JAMSVGImage

Display resolution independent SVGs in iOS.
MIT License
372 stars 48 forks source link

Fix asserion failed when restoring context #31

Closed m1entus closed 8 years ago

m1entus commented 8 years ago

You forgot save GState before restore it in next lines. Fix crash: Assertion failed: (s->stack->next != NULL), function CGGStackRestore, file Context/CGGStack.c, line 77.

mikhailmulyar commented 8 years ago

Agreed with this one. It crashes while drawing paths with gradients.

jmenter commented 8 years ago

Thanks!