varios ajustos

This commit is contained in:
2024-08-13 18:51:55 +02:00
parent a2ce1f0dc3
commit 3f3242393e
3 changed files with 13 additions and 10 deletions

View File

@@ -214,7 +214,7 @@ void Scoreboard::fillPanelTextures()
SDL_SetRenderTarget(renderer, panelTexture[i]);
// Dibuja el fondo de la textura
SDL_SetRenderDrawColor(renderer, i * 64, 0, 0, 255);
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0);
SDL_RenderClear(renderer);
switch (panel[i].mode)
@@ -283,7 +283,6 @@ void Scoreboard::fillBackgroundTexture()
// Dibuja el fondo del marcador
SDL_SetRenderDrawColor(renderer, color.r, color.g, color.b, 255);
SDL_SetRenderDrawColor(renderer, 0, 255, 0, 255);
SDL_RenderFillRect(renderer, nullptr);
// Copia las texturas de los paneles