3 ms·
OpenGL 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/SD
by roblabla 6y ago
OpenGL 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...