4 ms·
I wonder if you could somehow get this working with libraries that are widely ported across platforms already like SDL.
by EamonnMR 6y ago
I wonder if you could somehow get this working with libraries that are widely ported across platforms already like SDL.
- phire 6y agoIt might take a bit of effort, but should be possible. One problem for libraries like SDL is they disable all their per platform code with #ifdefs. To build a static, cross platform version you would have to convert them all those #ifdefs to runtime branching, dynamically load libraries and provide headers files for all platforms.