From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Manuel Palenzuela Date: Sun, 4 Apr 2021 00:41:48 +0200 Subject: [PATCH] Disable graphics acceleration Disables SDL2 hardware acceleration as we don't support that. --- src/Core.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core.cpp b/src/Core.cpp index c04581b..f0c0308 100644 --- a/src/Core.cpp +++ b/src/Core.cpp @@ -36,7 +36,7 @@ CCore::CCore(void) { quitGame = true; } - rR = SDL_CreateRenderer(window, -1, SDL_RENDERER_ACCELERATED); + rR = SDL_CreateRenderer(window, -1, 0); // ----- ICO std::string filename = "files/images/ico.bmp"; @@ -376,4 +376,4 @@ void CCore::resetMove() { Map* CCore::getMap() { return oMap; -} \ No newline at end of file +}