Fix the `SDGraphicsBeginImageContext` method recursive call issue

This commit is contained in:
DreamPiggy 2018-11-01 11:18:14 +08:00
parent 93af30e39b
commit 5d097bbc8d
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ CGContextRef SDGraphicsGetCurrentContext(void) {
void SDGraphicsBeginImageContext(CGSize size) {
#if SD_UIKIT || SD_WATCH
SDGraphicsBeginImageContext(size);
UIGraphicsBeginImageContext(size);
#else
SDGraphicsBeginImageContextWithOptions(size, NO, 1.0);
#endif