From 24bed16090a34a6444e3c760511ea4bfadb32dfa Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 11 Nov 2020 17:22:45 +0100 Subject: [PATCH] changed literal to named constant --- src/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Window.cpp b/src/Window.cpp index 4801bc8..f539cfe 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -87,7 +87,7 @@ Window::Window(const std::string& title) : _title {title} { 1600, 900, SDL_WINDOW_RESIZABLE); _w.reset(win); - _r.reset(SDL_CreateRenderer(win, -1, 0)); + _r.reset(SDL_CreateRenderer(win, -1, SDL_RENDERER_ACCELERATED)); } void Window::set_size(int w, int h) {