Quitados tres warnings

This commit is contained in:
2022-09-01 21:22:13 +02:00
parent 877b1e56e4
commit 3e94633f56
2 changed files with 2 additions and 5 deletions

View File

@@ -103,8 +103,8 @@ bool LTexture::createBlank(SDL_Renderer *renderer, int width, int height, SDL_Te
}
else
{
width = width;
height = height;
this->width = width;
this->height = height;
}
return texture != NULL;

View File

@@ -77,9 +77,6 @@ ScoreBoard::~ScoreBoard()
// Pinta el objeto en pantalla
void ScoreBoard::render()
{
const int num_lives = 9;
// Dibuja el fondo del marcador
const SDL_Rect rect = {0, 17 * BLOCK, PLAY_AREA_WIDTH, GAMECANVAS_HEIGHT - PLAY_AREA_HEIGHT};
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);