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:
NSGraphicsContext *nsctx = [NSGraphicsContext currentContext];
nsctx.imageInterpolation = NSImageInterpolationHigh;
nsctx.shouldAntialias = NO;
but it has no effect.
Post
Replies
Boosts
Views
Activity
Code I have used for years on Macs now crashes after updating OS:
SSL_CTX *sslctx = SSL_CTX_new(SSLv23_client_method());
Reading the posts about TLS changes, I change it to this:
SSL_CTX *sslctx = SSL_CTX_new(TLS_client_method());
In fact any method I give results in crash.. Is this a known issue?
Is there something I now need to call before calling SSL_CTX_new()?
[MacOS Sequoia.]
I am tracking down a problem where I am linking to libboringssl.dylib even though I am statically linking openssl.
In Xcode debugger, 'Show Library info' shows this:
But there is no such file as /usr/lib/libboringssl.dylib
Whats going on?