Fix the `SDGraphicsBeginImageContext` method recursive call issue
This commit is contained in:
parent
93af30e39b
commit
5d097bbc8d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue