3 ms·
SDL has its own "dynapi" layer, where you can override it with your own copy of SDL even if it was statically linked: https://github.com/libsdl-org/SDL/blob/mai
by edflsafoiewq 5y ago
SDL has its own "dynapi" layer, where you can override it with your own copy of SDL even if it was statically linked: https://github.com/libsdl-org/SDL/blob/main/docs/README-dynapi.md https://github.com/libsdl-org/SDL/blob/main/docs/README-dyna...
- ck45 5y agoIs the version statically linked recent enough to support it? Also, can’t decide if it’s genius or insane, that extra layer of dynamic linking…
- charcircuit 5y agoAccording to [1] it was added (but not released) January 8th, 2014. Papers Please came out on Linux February 12, 2014 so I'd figure it's not in there unless the version of SDL was updated in a later update. [1] https://old.reddit.com/r/linux_gaming/comments/1upn39/sdl2_adds_dynamic_api_magic_to_allow_updating_it/ https://old.reddit.com/r/linux_gaming/comments/1upn39/sdl2_a... Edit: (what I believe to be) This freezing bug was only added 3 years ago, so it might actually have it.
- MayeulC 5y agoJust pray they didn't alter SDL like factorio does: https://news.ycombinator.com/item?id=27246164 https://news.ycombinator.com/item?id=27246164