reverting changes to original SDL2 patch from Karl-Felix