eliminat codi mort

This commit is contained in:
2025-08-16 09:33:40 +02:00
parent 960ee367df
commit 5c708fc60a
9 changed files with 16 additions and 38 deletions

View File

@@ -73,8 +73,6 @@ auto Texture::loadFromFile(const std::string &file_path) -> bool {
int pitch;
SDL_PixelFormat pixel_format;
// STBI_rgb_alpha (RGBA)
pitch = 4 * width;
pixel_format = SDL_PIXELFORMAT_RGBA32;