diff --git a/bin/mac/libnst64.dylib b/bin/mac/libnst64.dylib index 2192d63be100..7f54ca0f0647 100755 Binary files a/bin/mac/libnst64.dylib and b/bin/mac/libnst64.dylib differ diff --git a/native/MacTouchBar/src/Utils.m b/native/MacTouchBar/src/Utils.m index 696a789f5e4b..025dee97790b 100644 --- a/native/MacTouchBar/src/Utils.m +++ b/native/MacTouchBar/src/Utils.m @@ -49,7 +49,8 @@ NSImage * createImgFrom4ByteRGBA(const unsigned char *bytes, int w, int h) { unsigned char* pix = [rep bitmapData]; memcpy(pix, bytes, h*rowBytes); - NSImage* nsimg = [[[NSImage alloc] initWithSize:NSMakeSize(w, h)] autorelease]; + NSSize sizeInPoints = NSMakeSize(w/2, h/2); // NOTE: 'retina' display has 2 pix in 1 point + NSImage* nsimg = [[[NSImage alloc] initWithSize:sizeInPoints] autorelease]; [nsimg addRepresentation:rep]; return nsimg; }