- Adapt SDL2 changes for the Mac (both using SDL2 backend and Cocoa).