From dc8c0c9e4fa44a94eef0aeb04834a7c9a6139e1e Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Thu, 17 Nov 2022 17:54:05 +0100 Subject: [PATCH] Fix: Algunas texturas desaparecen al bloquearse la pantalla --- source/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game.cpp b/source/game.cpp index cbd9494..b3314c0 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -92,7 +92,7 @@ void Game::checkEventHandler() break; } - if (eventHandler->type == SDL_RENDER_DEVICE_RESET) + if (eventHandler->type == SDL_RENDER_DEVICE_RESET || eventHandler->type == SDL_RENDER_TARGETS_RESET) { reLoadTextures(); }