Hashlink Compilation Issues with OSX



When compiling hashlink on a mac, I get an issue where my s2d scene is always a quarter of the window size, in the bottom left corner. Does anyone else has this issue or has seen it happen? If yes, how did you fix it? I tried making a new project, changing the window size, calling onResize() in the init function, but nothing I tried worked. Any help would be great (:

Thank you!


I have this same issue with a project that doesn’t use Heaps but a whole different framework. But both are based on SDL on macOS and it might be an issue with the way SDL is set up. I believe Catalina changed something in the way the display is handled


It has been fixed in a not yet released fix in SDL2. I solved it by downloading the source for SDL2 and building/installing it manually.