fix deprecations.

This commit is contained in:
Damiano Galassi committed 2019-02-05 10:10:48 +01:00
1 parent 9cea3be041
commit 7870edbaaf
4 files changed
+8 -9

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@
- (CIContext *)imgContext {
if (!_imgContext) {
_imgContext = [CIContext contextWithCGContext:[[NSGraphicsContext currentContext] graphicsPort]
_imgContext = [CIContext contextWithCGContext:[[NSGraphicsContext currentContext] CGContext]
options:nil];
}
return _imgContext;