Closed leokolln closed 6 years ago
I'm not able to test Windows right now but I'm not seeing any reason why the change list should cause issues, especially since its opt-in.
Tested on OSX. GLFW works great, SDL2 has issues as you suspected. Unfortunately I don't think there's anything I can do about SDL2 when installed as a framework. BGFX's entry includes SDL2 as <SDL2/SDL.h> but in the OSX framework the "SDL2" folder doesn't exist.
People will have to manually fix this themselves if they plan to use SDL2, which should be easy enough, so I'll go ahead and merge in. Thanks!
Implemented the equivalent of
--with-sdl
and--with-glfw
.Usage:
or
Only tested on Ubuntu 18.04, relevant packages versions: