3 ms·
> I've been wondering.. is it possible to write something to override the statically linked functions? SDL does have a built-in way to do that trick. A quick w
by cesarb 5y ago
> I've been wondering.. is it possible to write something to override the statically linked functions?
SDL does have a built-in way to do that trick. A quick web search tells me it's called SDL_DYNAMIC_API.
- Sjonny 5y agocool, I never knew! Somehow the game I thought it would add a feature is still lacking it. For some reason rumble on my xbox joystick with Enter the Gungeon never worked. I thought it was because of an old SDL version, because experimentation showed that. But by using the SDL_DYNAMIC_API env and loading my system SDL the game still not added rumble to my joystick. Ohwell.
- seba_dos1 5y agoSDL_DYNAMIC_API is a relatively recent addition (IIRC 2014), so static SDL2 builds from before that won't work this way.