eliminat codi mort
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user