adding SDL2 platform support, part 2