corregides les textures amb filtre linear

This commit is contained in:
2026-04-03 10:20:26 +02:00
parent 7e570e2814
commit 8f1aeadeee
9 changed files with 41 additions and 3 deletions

View File

@@ -16,6 +16,11 @@ private:
std::string path; // Ruta de la imagen de la textura
public:
static SDL_ScaleMode currentScaleMode; // Modo de escalado global para nuevas texturas
// Establece el modo de escalado global para nuevas texturas
static void setGlobalScaleMode(SDL_ScaleMode mode);
// Constructor
Texture(SDL_Renderer *renderer, std::string path = "", bool verbose = false);