Fix: Algunas texturas desaparecen al bloquearse la pantalla
This commit is contained in:
@@ -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