SDL_CreateRenderer()不能帶入SDL_RENDERER_ACCELERATED或SDL_RENDERER_PRESENTVSYNC參數
renderer = SDL_CreateRenderer(window, -1, 0 /*SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC*/);