Unfortunately it draws incorrectly on macOS with a retina display because the window is created with a scaling factor (320x240 is requested, but the window's physical size is 640x480) and the window reports its size in logical units. There is no way to query the scaling factor with minifb to correct it.
I created an example for
pixels
that usesminifb
as a window manager: https://github.com/parasyte/pixels/tree/example/minimal-minifb/examples/minimal-minifbUnfortunately it draws incorrectly on macOS with a retina display because the window is created with a scaling factor (320x240 is requested, but the window's physical size is 640x480) and the window reports its size in logical units. There is no way to query the scaling factor with
minifb
to correct it.