From 00b562337dd1379f424eadd137fbe2d1f2994fbf Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Mon, 13 Feb 2023 11:46:22 +0100 Subject: [PATCH] Changed renderer flag --- src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {