Another cleanup that doesn't seem to actually help
[ITKit.git] / ITImageCell.m
index d8f38b9..055435a 100755 (executable)
@@ -47,7 +47,9 @@
     }
     
     if ( _scalesSmoothly ) {
-        CGContextSetInterpolationQuality([[NSGraphicsContext currentContext] graphicsPort], kCGInterpolationHigh);
+       // CGContextSetInterpolationQuality([[NSGraphicsContext currentContext] graphicsPort], kCGInterpolationHigh);
+       [[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationHigh];
+       [[NSGraphicsContext currentContext] setShouldAntialias:YES];
     }
     
     if ( castsShadow ) {