treball en curs: correccions de tidy

This commit is contained in:
2026-05-16 17:19:40 +02:00
parent 3421f34a84
commit ee2dd0bc2c
30 changed files with 1220 additions and 1479 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ Instructions::Instructions(SDL_Renderer *renderer, Section *section) {
// Crea un backbuffer para el renderizador
backbuffer_ = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, GAMECANVAS_WIDTH, GAMECANVAS_HEIGHT);
if (backbuffer_ != nullptr) {
SDL_SetTextureScaleMode(backbuffer_, Texture::currentScaleMode);
SDL_SetTextureScaleMode(backbuffer_, Texture::current_scale_mode);
} else {
std::cout << "Error: textTexture could not be created!\nSDL Error: " << SDL_GetError() << '\n';
}