This project has a good list of SDL Swift libraries at the end of the page: https://github.com/ctreffs/SwiftSDL2 - but I don't know which one is the best one..
Then, we need to get Swift to compile for Android..
Isn't that handled by the swift runtime?
By without any changes I meant, without platform-specific recompilation. Very similar to what java runtime provides for JAR.
btw, they are even deprecating opengl! i have no idea what that means for the tons of games written with an opengl backend. probably not an issue for the iOS ecosystem though.
so that's what is going on...
oh nice, i had no idea SDL had metal support!
no one in the SDL developer community tells you how to support metal or how to use it. instructions for MacOSX redirects you to another library, which has since removed their instructions.
who exactly are we kidding here?
Here,
https://wiki.libsdl.org/SDL_SetHint?highlight=%28%5CbCategor...
https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER
And after a 5 minute search,
https://gist.github.com/gcatlin/b89e0efed78dd91364609ca4095d...