diff --git a/source/director.cpp b/source/director.cpp index 05644e4..5184644 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -193,7 +193,7 @@ bool Director::initSDL() } } #ifndef RASPI - if (options->video.shaders) + //if (options->video.shaders) if (!SDL_SetHint(SDL_HINT_RENDER_DRIVER, "opengl")) { if (options->console) @@ -229,7 +229,7 @@ bool Director::initSDL() } #ifndef RASPI // La aceleración se activa según las opciones - if (options->video.shaders || true) + //if (options->video.shaders) { flags = flags | SDL_RENDERER_ACCELERATED | SDL_RENDERER_TARGETTEXTURE; } diff --git a/source/game.cpp b/source/game.cpp index d9e00d9..1cfd594 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -3224,7 +3224,10 @@ void Game::checkEvents() { if (eventHandler->window.event == SDL_WINDOWEVENT_FOCUS_LOST) { - pause(true); + if (!demo.enabled) + { + pause(true); + } } if (eventHandler->window.event == SDL_WINDOWEVENT_FOCUS_GAINED)