2 ms·
I'd like to see solutions like SDL2's become more widespread: https://old.reddit.com/r/linux_gaming/comments/1upn39/sdl2_adds_dynamic_api_magic_to_allow_updatin
by Jach 5y ago
I'd like to see solutions like SDL2's become more widespread: 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... At runtime, the first call into SDL sets up a jump table for all SDL functions afterwards. When SDL is statically linked, it uses those static functions by default, but it's possible to specify an environmental variable pointing at an SDL dynamic lib, and the jump table will use those functions instead.