I have an OpenGL render of 1280x720 that is pin sharp and set the NSView content size to be 1280x720 also. Because of backingScaleFactor, it is 2x in size.
When the NSView scales my backing image up because of backingScaleFactor, it uses a bilinear filter that slightly blurs the image which looks not great.
How can I turn this filtering off? I just want nearest/point sampling.
I tried:
but it has no effect.
When the NSView scales my backing image up because of backingScaleFactor, it uses a bilinear filter that slightly blurs the image which looks not great.
How can I turn this filtering off? I just want nearest/point sampling.
I tried:
Code Block NSGraphicsContext *nsctx = [NSGraphicsContext currentContext]; nsctx.imageInterpolation = NSImageInterpolationHigh; nsctx.shouldAntialias = NO;
but it has no effect.