diff --git a/src/Window.cpp b/src/Window.cpp index e235069..f4338ce 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -91,7 +91,7 @@ Window::Window(const std::string& title, Uint32 flags) : _title {title} { 1600, 900, flags); _w.reset(win); - _r.reset(SDL_CreateRenderer(win, -1, SDL_RENDERER_ACCELERATED)); + _r.reset(SDL_CreateRenderer(win, -1, SDL_RENDERER_PRESENTVSYNC)); } void Window::set_size(int w, int h) {