Limpieza de código
This commit is contained in:
@@ -358,10 +358,6 @@ section_t Intro::run()
|
||||
}
|
||||
}
|
||||
|
||||
// Limpia la pantalla
|
||||
//SDL_SetRenderDrawColor(mRenderer, bgColor.r, bgColor.g, bgColor.b, 0xFF);
|
||||
//SDL_RenderClear(mRenderer);
|
||||
|
||||
// Prepara para empezar a dibujar en la textura de juego
|
||||
mScreen->start();
|
||||
|
||||
@@ -374,9 +370,6 @@ section_t Intro::run()
|
||||
for (int i = 0; i < INTRO_TOTAL_TEXTS; i++)
|
||||
mWriter[i]->render();
|
||||
|
||||
// Actualiza la pantalla
|
||||
//SDL_RenderPresent(mRenderer);
|
||||
|
||||
// Vuelca el contenido del renderizador en pantalla
|
||||
mScreen->blit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user