Works with SDL2 1.3