switch to sdl2-1.2.0's Pattern support