Fix: Algunas texturas desaparecen al bloquearse la pantalla
This commit is contained in:
1 parent
7af0dda1a0
commit
dc8c0c9e4f
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user