6 ms·
not OP either. but i think the problem is simple. apple said no to opengl, which any other platform out there supports. btw, they are even deprecating opengl!
by blondin 6y ago
not OP either. but i think the problem is simple. apple said no to opengl, which any other platform out there supports.
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...
- roblabla 6y agoOpenGL isn't relevant here, as SDL2 has a metal backend that's used by default on MacOS. See https://hg.libsdl.org/SDL/rev/1acae5590352 https://hg.libsdl.org/SDL/rev/1acae5590352
- deleted 6y ago[deleted]
- blondin 6y ago> OpenGL isn't relevant here 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?
- pjmlp 6y agoThe whole point of using SDL is that the framework takes care of it for you. Here, https://wiki.libsdl.org/SDL_SetHint?highlight=%28%5CbCategoryAPI%5Cb%29%7C%28SDLFunctionTemplate%29 https://wiki.libsdl.org/SDL_SetHint?highlight=%28%5CbCategor... https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER And after a 5 minute search, https://gist.github.com/gcatlin/b89e0efed78dd91364609ca4095da346 https://gist.github.com/gcatlin/b89e0efed78dd91364609ca4095d...
- thetinguy 6y agoWhy would you want an old API like OpenGL when you can use Vulkan and Metal
- zapzupnz 6y agoAnd in case anybody comes in raving about how Vulkan isn't supported on macOS, that's fine, Vulkan-to-Metal compatibility layer libraries are available.
- pjmlp 6y agoWell, Vulkan is also not supported on PlayStation, XBox, Win32 and UWP sandboxes, Android devices until Android 7, and until version 10 only flagship devices actually had any kind of proper support.