sdl2: render should be extern C.