3 ms·
We did this when I worked on factorio (on all three desktop platforms, not just linux), it works really well. Side bonus is you can make the inevitably required
by wheybags 5y ago
We did this when I worked on factorio (on all three desktop platforms, not just linux), it works really well. Side bonus is you can make the inevitably required small tweaks inside the library easily because it's all integrated in the same build system as the rest of your game.
- MayeulC 5y ago> you can make the inevitably required small tweaks inside the library How do you handle Steam or the user updating SDL2 to a newer version, then (see the sibling comments about dynapi)? Does your game depend on those tricks to run?
- wheybags 5y agoWe statically linked it, and didn't use the system/steam provided version at all. I guess if a user tried to use SDL_DYNAMIC_API, it would break in strange and unexpected ways. TBH I didn't know that option existed until just now. We never had any problems with our approach, afaik.