Changed renderer flag

This commit is contained in:
Bob Polis 2023-02-13 11:46:22 +01:00
parent b2354d68c0
commit 00b562337d

View File

@ -91,7 +91,7 @@ Window::Window(const std::string& title, Uint32 flags) : _title {title} {
1600, 900, 1600, 900,
flags); flags);
_w.reset(win); _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) { void Window::set_size(int w, int h) {